[Frugalware-git] pacman-g2: Remove warning.
Michel Hermier
hermier at frugalware.org
Thu Nov 19 19:04:36 CET 2009
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=89b57564c7bc5931eba3348a8836751a051dd903
commit 89b57564c7bc5931eba3348a8836751a051dd903
Author: Michel Hermier <hermier at frugalware.org>
Date: Thu Nov 19 19:03:41 2009 +0100
Remove warning.
diff --git a/src/pacman-g2/query.c b/src/pacman-g2/query.c
index 3a60de7..6964f91 100644
--- a/src/pacman-g2/query.c
+++ b/src/pacman-g2/query.c
@@ -62,10 +62,10 @@ int querypkg(list_t *targets)
PM_PKG *pkg = pacman_list_getdata(j);
printf("local/%s %s %s (%s)\n",
- (char*)pacman_list_getdata(pacman_pkg_getinfo(pkg, PM_PKG_GROUPS)),
+ (char *)pacman_list_getdata(pacman_pkg_getinfo(pkg, PM_PKG_GROUPS)),
(char *)pacman_pkg_getinfo(pkg, PM_PKG_NAME),
(char *)pacman_pkg_getinfo(pkg, PM_PKG_VERSION),
- pacman_pkg_getinfo(pkg, PM_PKG_DESC));
+ (char *)pacman_pkg_getinfo(pkg, PM_PKG_DESC));
}
return(0);
}
More information about the Frugalware-git
mailing list