Change local counter to size_t
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Apr 2014 07:10:33 +0000 (09:10 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Apr 2014 07:10:33 +0000 (09:10 +0200)
src/marcdisp.c

index cb34dde..3271889 100644 (file)
@@ -257,7 +257,7 @@ static int element_name_append_attribute_value(
     /* TODO Map special codes to something possible for XML ELEMENT names */
 
     int encode = 0;
     /* TODO Map special codes to something possible for XML ELEMENT names */
 
     int encode = 0;
-    int index = 0;
+    size_t index = 0;
     int success = 0;
     for (index = 0; index < code_len; index++)
     {
     int success = 0;
     for (index = 0; index < code_len; index++)
     {