diff options
Diffstat (limited to 'apps/engine.c')
-rw-r--r-- | apps/engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/engine.c b/apps/engine.c index f11206f570..13de0bdaad 100644 --- a/apps/engine.c +++ b/apps/engine.c @@ -99,7 +99,7 @@ static int append_buf(char **buf, char *s, int *size, int step) if (**buf != '\0') l += 2; /* ", " */ - if (strlen(*buf) + strlen(s) >= *size) + if (strlen(*buf) + strlen(s) >= (unsigned int)*size) { *size += step; *buf = OPENSSL_realloc(*buf, *size); |