New functions to allow RSA_METHODs to be changed without poking round in
[openssl.git] / crypto / mem.c
index 75ab2a1b36e6b5817b3329d6889c89a10797e56a..01f189bfc983a92cd80a0c2024b4d5eaafc69e7e 100644 (file)
@@ -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;