Diff of /v3p/Qv/QvNode.cxx [055d41] .. [1070e6] Maximize Restore

  Switch to side-by-side view

--- a/v3p/Qv/QvNode.cxx
+++ b/v3p/Qv/QvNode.cxx
@@ -119,8 +119,7 @@
     if (newName.getLength() > 0 &&
         !QvName::isNodeNameStartChar(str[0])) isBad = TRUE;
 
-    int i;
-    for (i = 1; i < newName.getLength() && !isBad; i++) {
+    for (vcl_size_t i = 1; i < newName.getLength() && !isBad; ++i) {
         isBad = !QvName::isNodeNameChar(str[i]);
     }
 
@@ -130,7 +129,7 @@
         if (!QvName::isNodeNameStartChar(str[0])) {
             goodString += "_";
         }
-        for (i = 0; i < newName.getLength(); i++) {
+        for (vcl_size_t i = 0; i < newName.getLength(); i++) {
             char temp[2];
             temp[0] = str[i]; temp[1] = '\0';
             if (!QvName::isNodeNameChar(str[i]))