mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-30 12:57:09 +02:00
Enable warning-free compilation even with -Wextra.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user