Skip to content

Commit c67314a

Browse files
Fix
1 parent 1751489 commit c67314a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapcodelib/mapcoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static const char *get_entity_iso3(char *entity_iso3_result, int ccode) {
169169

170170
static void makeupper(char *s)
171171
{
172-
for(;*s;*s++) { *s = toupper(*s); }
172+
while(*s) { *s = toupper(*s); s++; }
173173
}
174174

175175
static int disambiguate_str(const char *s, const int len) // returns disambiguation 1-8, or negative if error

0 commit comments

Comments
 (0)