projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix signed/unsigned warnings.
[openssl.git]
/
crypto
/
rc4
/
rc4test.c
diff --git
a/crypto/rc4/rc4test.c
b/crypto/rc4/rc4test.c
index 49afa5c1dbfe820c3d8b843c4ea26d751d788b9a..633a79e75890f290b1dc5851dc1c06df6393a696 100644
(file)
--- a/
crypto/rc4/rc4test.c
+++ b/
crypto/rc4/rc4test.c
@@
-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:");
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:");
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++;
printf(" %02x",expected[j]);
printf("\n");
err++;