summaryrefslogtreecommitdiff
path: root/src/pacman/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 51e05fd3..2eab6c79 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -27,7 +27,7 @@
if((b) > 0) { \
p = malloc(b); \
if (!(p)) { \
- fprintf(stderr, "malloc failure: could not allocate %d bytes\n", b); \
+ fprintf(stderr, "malloc failure: could not allocate %d bytes\n", (int)b); \
exit(1); \
} \
} else { \