summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha_locl.h
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-05-10 08:33:56 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-05-10 08:33:56 +0000
commit397f703892d66df668d2a7192d89227dcd0ffad4 (patch)
tree2e4e9a6d3f3dfe72ec82dc622b1bba343da92df4 /crypto/sha/sha_locl.h
parent884e8ec61533ee6361d72151066a808a0cfcd6d3 (diff)
Fix various things to let OpenSSL even pass ``egcc -pipe -O2 -Wall -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline'' with EGCS 1.1.2+
Diffstat (limited to 'crypto/sha/sha_locl.h')
-rw-r--r--crypto/sha/sha_locl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/sha/sha_locl.h b/crypto/sha/sha_locl.h
index 03215c2910..a88a019ff3 100644
--- a/crypto/sha/sha_locl.h
+++ b/crypto/sha/sha_locl.h
@@ -178,10 +178,10 @@
})
#ifndef I386_ONLY
#define Endian_Reverse32(a) \
- { register unsigned int l=(a); \
+ { register unsigned int ltmp=(a); \
asm ("bswapl %0" \
- : "=r"(l) : "0"(l)); \
- (a)=l; \
+ : "=r"(ltmp) : "0"(ltmp)); \
+ (a)=ltmp; \
}
#endif
#elif defined(__powerpc)