1
0
forked from GitHub/gf-core

fixes in the C runtime to avoid warnings when compiling on MacOS

This commit is contained in:
kr.angelov
2013-11-15 10:03:22 +00:00
parent d997df2864
commit a6d60f9c8d
4 changed files with 9 additions and 10 deletions

View File

@@ -179,7 +179,7 @@ gu_string_is_prefix(GuString s1, GuString s2)
if (len1 > len2)
return false;
for (size_t len = len1; len--; len > 0) {
for (size_t len = len1; len > 0; len--) {
if (*s1 != *s2)
return false;