mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-04 16:52:50 -06:00
fixes in the C runtime to avoid warnings when compiling on MacOS
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user