Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm/.git;a=commitdiff;h=975a045b8acf4af9650c28225a02f334a79947cc

commit 975a045b8acf4af9650c28225a02f334a79947cc
Author: Christian Hamar alias krix <[EMAIL PROTECTED]>
Date:   Mon Aug 6 19:10:18 2007 +0200

Fix 2 warnings again
* Use (long) cast instead of (int)
* Include gfpm-db.h in gfpm.c

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index 51a3d2f..a9cf51a 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -804,7 +804,7 @@ gfpm_load_info_tvw (const char *pkg_name)

st = (char*)gfpm_bold (_("Reason:"));
gtk_list_store_append (GTK_LIST_STORE(model), &iter);
-               switch ((int)pacman_pkg_getinfo (pm_lpkg, PM_PKG_REASON))
+               switch ((long)pacman_pkg_getinfo (pm_lpkg, PM_PKG_REASON))
{
case PM_PKG_REASON_EXPLICIT:    gtk_list_store_set (GTK_LIST_STORE(model), 
&iter,
0, st,
diff --git a/src/gfpm.c b/src/gfpm.c
index c84efcb..cf9807e 100644
--- a/src/gfpm.c
+++ b/src/gfpm.c
@@ -31,6 +31,7 @@
#include "gfpm-interface.h"
#include "gfpm-systray.h"
#include "gfpm-messages.h"
+#include "gfpm-db.h"

#define GLADE_FILE      "/share/gfpm/gfpm.glade"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to