]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/generic.cxx
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / 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());