summaryrefslogtreecommitdiff
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-10-11 14:02:20 -0500
committerDan McGee <dan@archlinux.org>2009-10-11 14:41:59 -0500
commit145103aacc57d35579315bfbf7c5607c590af194 (patch)
tree17c0bf08b96f57d11183ce91429774ad8e3cc1d8 /lib/libalpm/add.c
parent35dc9b03149dc2f42022fe5fea80a3aed3207489 (diff)
downloadpacman-145103aacc57d35579315bfbf7c5607c590af194.tar.xz
typing: a few more fixes for special int types
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index c6751a49..ebcd6a55 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -199,7 +199,7 @@ static int extract_single_file(struct archive *archive,
/* case 12: existing dir, ignore it */
if(lsbuf.st_mode != entrymode) {
/* if filesystem perms are different than pkg perms, warn user */
- int mask = 07777;
+ mode_t mask = 07777;
_alpm_log(PM_LOG_WARNING, _("directory permissions differ on %s\n"
"filesystem: %o package: %o\n"), entryname, lsbuf.st_mode & mask,
entrymode & mask);