diff options
author | Richard Levitte <levitte@openssl.org> | 1999-11-12 03:12:46 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 1999-11-12 03:12:46 +0000 |
commit | 71d7526b7207fcd1c103ce1330a4fa0143f08778 (patch) | |
tree | 972460139ea9e8e2eaf235c1cc6610167631aae4 /crypto/mem.c | |
parent | 1f575f1b1df1d4effa5a97cf97850097d69aee8c (diff) |
Avoid some silly compiler warnings, and add the change log I forgot :-)
Diffstat (limited to 'crypto/mem.c')
-rw-r--r-- | crypto/mem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/mem.c b/crypto/mem.c index 5e728e3852..ddcc1113d5 100644 --- a/crypto/mem.c +++ b/crypto/mem.c @@ -244,7 +244,7 @@ static APP_INFO *remove_info() #ifdef LEVITTE_DEBUG if (ret->thread != tmp.thread) { - fprintf(stderr, "remove_info(): deleted info has other thread ID (%d) than the current thread (%d)!!!!\n", + fprintf(stderr, "remove_info(): deleted info has other thread ID (%lu) than the current thread (%lu)!!!!\n", ret->thread, tmp.thread); abort(); } @@ -295,7 +295,7 @@ int CRYPTO_add_info(const char *file, int line, const char *info) #ifdef LEVITTE_DEBUG if (ami->thread != amim->thread) { - fprintf(stderr, "CRYPTO_add_info(): previous info has other thread ID (%d) than the current thread (%d)!!!!\n", + fprintf(stderr, "CRYPTO_add_info(): previous info has other thread ID (%lu) than the current thread (%lu)!!!!\n", amim->thread, ami->thread); abort(); } @@ -581,7 +581,7 @@ static void print_leak(MEM *m, MEM_LEAK *l) ami_cnt++; memset(buf,'>',ami_cnt); sprintf(buf + ami_cnt, - "thread=%d, file=%s, line=%d, info=\"", + "thread=%lu, file=%s, line=%d, info=\"", amip->thread, amip->file, amip->line); buf_len=strlen(buf); info_len=strlen(amip->info); |