[libgtop] Fix Darwin support



commit d1d565aa608ae7a143e99231063a04018096ca58
Author: Marc-Andre Laperle <malaperle omnialabs net>
Date:   Thu Sep 8 09:25:15 2011 +0200

    Fix Darwin support
    
    glibtop_get_proclist_p's signature didn't match the headers prototype.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=556904

 sysdeps/darwin/proclist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sysdeps/darwin/proclist.c b/sysdeps/darwin/proclist.c
index 8cfb85d..27a1098 100644
--- a/sysdeps/darwin/proclist.c
+++ b/sysdeps/darwin/proclist.c
@@ -43,7 +43,7 @@ _glibtop_init_proclist_p (glibtop *server)
 
 pid_t *
 glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf,
-			int64_t which, int64_t arg)
+			gint64 which, gint64 arg)
 {
 	unsigned count, total, i;
 	pid_t *pids_chain;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]