[vlc-commits] Qt: explicit sign conversion
Jean-Baptiste Kempf
git at videolan.org
Sat May 14 13:33:26 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 14 13:14:14 2011 +0200| [e6a21a3c52eb37b2bb310087ddfdd9c4f9676fd5] | committer: Jean-Baptiste Kempf
Qt: explicit sign conversion
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6a21a3c52eb37b2bb310087ddfdd9c4f9676fd5
---
modules/gui/qt4/components/interface_widgets.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 2f346c3..1d85532 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -163,7 +163,7 @@ void VideoWidget::SetSizing( unsigned int w, unsigned int h )
This cause a small flicker.
See #3621
*/
- if( size().width() == w && size().height() == h )
+ if( (unsigned)size().width() == w && (unsigned)size().height() == h )
updateGeometry();
sync();
}
More information about the vlc-commits
mailing list