diff options
author | Andy Polyakov <appro@openssl.org> | 2008-07-17 13:58:21 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2008-07-17 13:58:21 +0000 |
commit | dd6f479ea8548ffc56a52ecdaba94c7d277dec83 (patch) | |
tree | 47792499b25e0a5012920dcc145cf346fe8e9aac | |
parent | 87facba3766a57c0963801202ecfa93d545cf93a (diff) |
mem_dbg.c: avoid compiler warnings.
PR: 1693
Submitted by: Stefan Neis
-rw-r--r-- | crypto/mem_dbg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/mem_dbg.c b/crypto/mem_dbg.c index d7b1021b8c..ad5209b817 100644 --- a/crypto/mem_dbg.c +++ b/crypto/mem_dbg.c @@ -319,10 +319,10 @@ long CRYPTO_dbg_get_options(void) static int mem_cmp(const MEM *a, const MEM *b) { #ifdef _WIN64 - const char *a=(const char *)a->addr, - *b=(const char *)b->addr; - if (a==b) return 0; - else if (a>b) return 1; + const char *ap=(const char *)a->addr, + *bp=(const char *)b->addr; + if (ap==bp) return 0; + else if (ap>bp) return 1; else return -1; #else return (const char *)a->addr - (const char *)b->addr; |