Fix signed/unsigned warnings.
[openssl.git] / crypto / rc4 / rc4test.c
index 49afa5c..633a79e 100644 (file)
@@ -216,11 +216,11 @@ int main(int argc, char *argv[])
                if (memcmp(md,expected,sizeof(md))) {
                        printf("error in RC4 bulk test\n");
                        printf("output:");
-                       for (j=0; j<sizeof(md); j++)
+                       for (j=0; j<(int)sizeof(md); j++)
                                printf(" %02x",md[j]);
                        printf("\n");
                        printf("expect:");
-                       for (j=0; j<sizeof(md); j++)
+                       for (j=0; j<(int)sizeof(md); j++)
                                printf(" %02x",expected[j]);
                        printf("\n");
                        err++;