summaryrefslogtreecommitdiffstats
path: root/crypto/bf/bftest.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-20 22:48:55 +0000
committerUlf Möller <ulf@openssl.org>1999-04-20 22:48:55 +0000
commitf36cd05b22a587e552c97797b54fd07bc0762446 (patch)
tree61d0890fd438e29424e8db0e55a759f88b275de9 /crypto/bf/bftest.c
parentb30ff644ad8c353af4dd5cd4a4f9470c01e12107 (diff)
Fix some warnings.
Diffstat (limited to 'crypto/bf/bftest.c')
-rw-r--r--crypto/bf/bftest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/bf/bftest.c b/crypto/bf/bftest.c
index e66ca044e2..06b528f64b 100644
--- a/crypto/bf/bftest.c
+++ b/crypto/bf/bftest.c
@@ -362,11 +362,11 @@ static int test(void)
printf("BF_encrypt error encrypting\n");
printf("got :");
for (i=0; i<2; i++)
- printf("%08lX ",data[i]);
+ printf("%08lX ",(unsigned long)data[i]);
printf("\n");
printf("expected:");
for (i=0; i<2; i++)
- printf("%08lX ",bf_cipher[n][i]);
+ printf("%08lX ",(unsigned long)bf_cipher[n][i]);
err=1;
printf("\n");
}
@@ -377,11 +377,11 @@ static int test(void)
printf("BF_encrypt error decrypting\n");
printf("got :");
for (i=0; i<2; i++)
- printf("%08lX ",data[i]);
+ printf("%08lX ",(unsigned long)data[i]);
printf("\n");
printf("expected:");
for (i=0; i<2; i++)
- printf("%08lX ",bf_plain[n][i]);
+ printf("%08lX ",(unsigned long)bf_plain[n][i]);
printf("\n");
err=1;
}