]> git.mxchange.org Git - flightgear.git/commitdiff
--warnings
authormfranz <mfranz>
Thu, 9 Mar 2006 21:41:51 +0000 (21:41 +0000)
committermfranz <mfranz>
Thu, 9 Mar 2006 21:41:51 +0000 (21:41 +0000)
src/Network/generic.cxx

index b350625a2f81c0ff4fc8c16c0e62c2079377ec01..89c9c91eca94a072d689c1e6f300b470723a46c0 100644 (file)
@@ -133,7 +133,7 @@ bool FGGeneric::parse_message() {
     double val;
     int i = -1;
 
-    while ((++i < _in_message.size()) &&
+    while ((++i < (int)_in_message.size()) &&
            p1 && strcmp(p1, line_separator.c_str())) {
 
         p2 = strstr(p1, var_separator.c_str());