Fix signed/unsigned warnings.
[openssl.git] / crypto / rc4 / rc4test.c
index 49afa5c1dbfe820c3d8b843c4ea26d751d788b9a..633a79e75890f290b1dc5851dc1c06df6393a696 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++;