Author: manolo
Date: 2012-05-18 02:09:09 -0700 (Fri, 18 May 2012)
New Revision: 9526
Log:
Removed compilation warning.

Modified:
   branches/branch-3.0/src/fltk3/utf.cxx

Modified: branches/branch-3.0/src/fltk3/utf.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/utf.cxx       2012-05-17 23:39:28 UTC (rev 
9525)
+++ branches/branch-3.0/src/fltk3/utf.cxx       2012-05-18 09:09:09 UTC (rev 
9526)
@@ -822,7 +822,7 @@
     }
     if (dstlen) {
       ret = wcstombs(dst, buf, dstlen);
-      if (ret >= dstlen-1) ret = wcstombs(0,buf,0);
+      if ((unsigned)ret >= dstlen-1) ret = wcstombs(0,buf,0);
     } else {
       ret = wcstombs(0,buf,0);
     }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to