projects
/
SXSI
/
libbp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
332345c
)
Silence a printf warning for %lu on 32bits archs.
master
author
Kim Nguyẽn
<kn@lri.fr>
Tue, 23 Oct 2012 11:49:15 +0000
(13:49 +0200)
committer
Kim Nguyẽn
<kn@lri.fr>
Tue, 23 Oct 2012 11:49:15 +0000
(13:49 +0200)
bp-utils.c
patch
|
blob
|
history
diff --git
a/bp-utils.c
b/bp-utils.c
index
0fc7a42
..
48b3fee
100644
(file)
--- 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;