diff -r e4ebb16b39ea -r 603d3f8b6302 plugins/multimedia/gstreamer/qx11videosurface.cpp --- a/plugins/multimedia/gstreamer/qx11videosurface.cpp Fri Sep 17 08:34:34 2010 +0300 +++ b/plugins/multimedia/gstreamer/qx11videosurface.cpp Mon Oct 04 01:37:06 2010 +0300 @@ -460,7 +460,7 @@ #ifdef Q_WS_MAEMO_5 //the overlay xvideo adapter fails to switch winId, //prefer the "SGX Textured Video" adapter instead - for (unsigned int i = count-1; i >=0 && !portFound; --i) { + for (int i = count-1; i >= 0 && !portFound; --i) { #else for (unsigned int i = 0; i < count && !portFound; ++i) { #endif