diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-11-15 10:03:22 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-11-15 10:03:22 +0000 |
| commit | a6d60f9c8de1dfc6e40f7c73bcdb403dd69d97be (patch) | |
| tree | 579ddd62b40cc487c2e7a4d581a946d641a70f60 /src/runtime/c/gu/string.c | |
| parent | d997df2864a29986d7146aa4dc69d9be879718cc (diff) | |
fixes in the C runtime to avoid warnings when compiling on MacOS
Diffstat (limited to 'src/runtime/c/gu/string.c')
| -rw-r--r-- | src/runtime/c/gu/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/gu/string.c b/src/runtime/c/gu/string.c index 995812fbf..8c9afd6e7 100644 --- a/src/runtime/c/gu/string.c +++ b/src/runtime/c/gu/string.c @@ -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; |
