diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-20 22:48:55 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-20 22:48:55 +0000 |
commit | f36cd05b22a587e552c97797b54fd07bc0762446 (patch) | |
tree | 61d0890fd438e29424e8db0e55a759f88b275de9 /crypto | |
parent | b30ff644ad8c353af4dd5cd4a4f9470c01e12107 (diff) | |
download | openssl-f36cd05b22a587e552c97797b54fd07bc0762446.tar.gz |
Fix some warnings.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bf/bftest.c | 8 | ||||
-rw-r--r-- | crypto/sha/sha1dgst.c | 2 |
2 files changed, 5 insertions, 5 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; } diff --git a/crypto/sha/sha1dgst.c b/crypto/sha/sha1dgst.c index 76373bd853..c7d52ee734 100644 --- a/crypto/sha/sha1dgst.c +++ b/crypto/sha/sha1dgst.c @@ -82,7 +82,7 @@ char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT; #ifndef NOPROTO # ifdef SHA1_ASM - void sha1_block_x86(SHA_CTX *c, register unsigned long *p, int num); + void sha1_block_x86(SHA_CTX *c, register SHA_LONG *p, int num); # define sha1_block sha1_block_x86 # else void sha1_block(SHA_CTX *c, register SHA_LONG *p, int num); |