Various Win32 related fixed. Make no-krb5 work in mkdef.pl .
[openssl.git] / apps / engine.c
index f11206f570833367b2b56412b8e52d998db1b709..13de0bdaadfdec3a021eb1e4195eb95e88a159b2 100644 (file)
@@ -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);