summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-15 21:34:52 +0200
committerAaron Griffin <aaron@archlinux.org>2006-10-15 21:34:52 +0200
commit3f27542156125118800235c5ac1bac125fd7752c (patch)
treee0ba3d5fd23be2c7ad5da14234622b032ab79191 /src/pacman/util.h
parentd37ad048732fbcef38aec001993553896dbe4198 (diff)
downloadpacman-3f27542156125118800235c5ac1bac125fd7752c.tar.gz
pacman-3f27542156125118800235c5ac1bac125fd7752c.tar.xz
Merged frugalware changes. Added a few other minor things too, but there's alot
to list. The diff should show you 8)
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 { \