summaryrefslogtreecommitdiffstats
path: root/crypto/evp/bio_ok.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-04-23 15:01:15 +0000
committerBen Laurie <ben@openssl.org>1999-04-23 15:01:15 +0000
commit61f5b6f33807306d09bccbc2dcad474d1d04ca40 (patch)
tree1680fa648df5f730df11ec433a512a1fadf0facd /crypto/evp/bio_ok.c
parent779cc0bca98e35830db455f34b986b86a2d2f822 (diff)
Work with -pedantic!
Diffstat (limited to 'crypto/evp/bio_ok.c')
-rw-r--r--crypto/evp/bio_ok.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/evp/bio_ok.c b/crypto/evp/bio_ok.c
index fbd6d532c6..151a95c3c4 100644
--- a/crypto/evp/bio_ok.c
+++ b/crypto/evp/bio_ok.c
@@ -441,10 +441,11 @@ static long ok_ctrl(BIO *b, int cmd, long num, char *ptr)
return(ret);
}
-static void longswap(char* ptr, int len)
+static void longswap(void *_ptr, int len)
{
#ifndef L_ENDIAN
int i;
+ char *ptr=_ptr;
for(i= 0;i < len;i+= 4){
*((unsigned long *)&(ptr[i]))= swapem(*((unsigned long *)&(ptr[i])));