summaryrefslogtreecommitdiffstats
path: root/crypto/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/mem.c')
-rw-r--r--crypto/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/mem.c b/crypto/mem.c
index 75ab2a1b36..01f189bfc9 100644
--- a/crypto/mem.c
+++ b/crypto/mem.c
@@ -308,8 +308,8 @@ static void print_leak(MEM *m, MEM_LEAK *l)
if(m->addr == (char *)l->bio)
return;
- sprintf(buf,"%5ld file=%s, line=%d, number=%d, address=%08lX\n",
- m->order,m->file,m->line,m->num,(long)m->addr);
+ sprintf(buf,"%5lu file=%s, line=%d, number=%d, address=%08lX\n",
+ m->order,m->file,m->line,m->num,(unsigned long)m->addr);
BIO_puts(l->bio,buf);
l->chunks++;
l->bytes+=m->num;