X-Git-Url: http://git.nguyen.vg/gitweb/?p=SXSI%2Flibbp.git;a=blobdiff_plain;f=bp-utils.c;fp=bp-utils.c;h=48b3feeff6800046cef98709eef5888d12971dbd;hp=0fc7a42e5b67f204697474812606e6c25fa2b0be;hb=4a266a1099132f41cd98c8809d0eea426576f4b5;hpb=332345c5dda9f16e549803f6155c81c9e4fb904b diff --git a/bp-utils.c b/bp-utils.c index 0fc7a42..48b3fee 100644 --- a/bp-utils.c +++ b/bp-utils.c @@ -28,7 +28,7 @@ void * bp_malloc(size_t n) { void * res = malloc(n); if (!res) { - fprintf(stderr, __FILE__ ": failure to allocate %lu bytes\n", n); + fprintf(stderr, __FILE__ ": failure to allocate %lu bytes\n", (long unsigned int) n); exit(1); }; allocated += n;