[Frugalware-git] pacman-tools: mkiso: fix x86_64 build
Miklos Vajna
vmiklos at frugalware.org
Tue Oct 25 01:20:31 CEST 2011
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=9e846ec6cbda26cd847d97318939fda31c8a925d
commit 9e846ec6cbda26cd847d97318939fda31c8a925d
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Tue Oct 25 01:21:27 2011 +0200
mkiso: fix x86_64 build
diff --git a/mkiso/mkiso.c b/mkiso/mkiso.c
index 26df65a..700f301 100644
--- a/mkiso/mkiso.c
+++ b/mkiso/mkiso.c
@@ -526,9 +526,9 @@ int prepare(volume_t *volume, char *tmproot, int countonly, int stable, int dryr
PM_DEPMISS *miss = pacman_list_getdata(i);
printf(":: %s: %s %s", (char*)pacman_dep_getinfo(miss, PM_DEP_TARGET),
- (int)pacman_dep_getinfo(miss, PM_DEP_TYPE) == PM_DEP_TYPE_DEPEND ? "requires" : "is required by",
+ (long)pacman_dep_getinfo(miss, PM_DEP_TYPE) == PM_DEP_TYPE_DEPEND ? "requires" : "is required by",
(char*)pacman_dep_getinfo(miss, PM_DEP_NAME));
- switch((int)pacman_dep_getinfo(miss, PM_DEP_MOD))
+ switch((long)pacman_dep_getinfo(miss, PM_DEP_MOD))
{
case PM_DEP_MOD_EQ: printf("=%s\n", (char*)pacman_dep_getinfo(miss, PM_DEP_VERSION)); break;
case PM_DEP_MOD_GE: printf(">=%s\n", (char*)pacman_dep_getinfo(miss, PM_DEP_VERSION)); break;
More information about the Frugalware-git
mailing list