Revision: 6159
Author: nogu.dev
Date: Thu Feb 25 14:55:07 2010
Log: * qt4/candwin/qt4.cpp
  - (CandidateWindow::adjustCandidateWindowSize): Suppress warning.
    Don't compare between signed and unsigned integer expressions.
http://code.google.com/p/uim/source/detail?r=6159

Modified:
 /trunk/qt4/candwin/qt4.cpp

=======================================
--- /trunk/qt4/candwin/qt4.cpp  Wed Sep 30 20:52:31 2009
+++ /trunk/qt4/candwin/qt4.cpp  Thu Feb 25 14:55:07 2010
@@ -430,7 +430,7 @@
     // FIXME!:
// There may be more proper way. Now width is adjusted by indeterminal 3 spaces.
     //    Using QWidget::adjustSize() seems not to work properly...
-    unsigned int maxCharIndex = 0, maxCharCount = 0;
+    int maxCharIndex = 0, maxCharCount = 0;
     for ( int i = 0; i < cList->childCount(); i++ )
     {
         if ( maxCharCount < cList->itemAtIndex( i ) ->text( 1 ).length() )

Reply via email to