Enable warning-free compilation even with -Wextra.

This commit is contained in:
Dianne Skoll
2019-11-04 16:35:14 -05:00
parent 74a6041760
commit 3095fd7e4a
10 changed files with 33 additions and 18 deletions
+1 -1
View File
@@ -798,7 +798,7 @@ static int Add(void)
v3.type = STR_TYPE;
l1 = strlen(v1.v.str);
l2 = strlen(v2.v.str);
if (MaxStringLen && (l1 + l2 > MaxStringLen)) {
if (MaxStringLen && (l1 + l2 > (size_t) MaxStringLen)) {
DestroyValue(v1); DestroyValue(v2);
return E_STRING_TOO_LONG;
}