index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <shiningxc@gmail.com> | 2009-11-14 20:26:37 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-25 21:58:35 -0500 |
commit | 7965345d435870a47073fffafa2a429744aa2deb (patch) | |
tree | fc4a902ffb0310af5a75bd47aec1c8b28be6d146 /lib/libalpm/be_files.c | |
parent | 21abae98cbd382d8fab4427109776d983cd07c9f (diff) |
-rw-r--r-- | lib/libalpm/be_files.c | 6 |
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 955351ce..877bc505 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -25,7 +25,7 @@ #include <stdlib.h> #include <errno.h> #include <string.h> -#include <stdint.h> /* uintmax_t, intmax_t */ +#include <stdint.h> /* intmax_t */ #include <sys/stat.h> #include <dirent.h> #include <ctype.h> @@ -831,11 +831,11 @@ int _alpm_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq) } if(info->builddate) { fprintf(fp, "%%BUILDDATE%%\n" - "%ju\n\n", (uintmax_t)info->builddate); + "%ld\n\n", info->builddate); } if(info->installdate) { fprintf(fp, "%%INSTALLDATE%%\n" - "%ju\n\n", (uintmax_t)info->installdate); + "%ld\n\n", info->installdate); } if(info->packager) { fprintf(fp, "%%PACKAGER%%\n" |