Author: manolo
Date: 2010-12-15 05:54:34 -0800 (Wed, 15 Dec 2010)
New Revision: 8037
Log:
Removed compilation warnings.

Modified:
   branches/branch-1.3/src/fl_font_x.cxx
   branches/branch-1.3/src/fl_set_fonts_x.cxx

Modified: branches/branch-1.3/src/fl_font_x.cxx
===================================================================
--- branches/branch-1.3/src/fl_font_x.cxx       2010-12-15 13:36:06 UTC (rev 
8036)
+++ branches/branch-1.3/src/fl_font_x.cxx       2010-12-15 13:54:34 UTC (rev 
8037)
@@ -160,8 +160,8 @@
       name = namebuffer;
       ptsize = size;
     } else if (!ptsize ||      // no fonts yet
-              thissize < ptsize && ptsize > size || // current font too big
-              thissize > ptsize && thissize <= size // current too small
+              (thissize < ptsize && ptsize > size) || // current font too big
+              (thissize > ptsize && thissize <= size) // current too small
       ) {
       name = thisname;
       ptsize = thissize;

Modified: branches/branch-1.3/src/fl_set_fonts_x.cxx
===================================================================
--- branches/branch-1.3/src/fl_set_fonts_x.cxx  2010-12-15 13:36:06 UTC (rev 
8036)
+++ branches/branch-1.3/src/fl_set_fonts_x.cxx  2010-12-15 13:54:34 UTC (rev 
8037)
@@ -260,7 +260,7 @@
 static unsigned int fl_free_font = FL_FREE_FONT;
 
 Fl_Font Fl::set_fonts(const char* xstarname) {
-  if (fl_free_font > FL_FREE_FONT) // already been here
+  if (fl_free_font > (unsigned)FL_FREE_FONT) // already been here
     return (Fl_Font)fl_free_font;
   fl_open_display();
   int xlistsize;

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

Reply via email to