make this work on 32 bit arches.

This commit is contained in:
jasper 2011-05-31 14:19:18 +00:00
parent 5821c1967b
commit 2513ae7bfe
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.71 2011/05/31 14:02:26 jasper Exp $
# $OpenBSD: Makefile,v 1.72 2011/05/31 14:19:18 jasper Exp $
COMMENT= portable library for obtaining system information
@ -6,7 +6,7 @@ GNOME_VERSION= 2.28.3
GNOME_PROJECT= libgtop
PKGNAME= libgtop2-${VERSION}
REVISION= 14
REVISION= 15
SHARED_LIBS= gtop-2.0 9.0 # .9.0

View File

@ -1,4 +1,4 @@
/* $OpenBSD: cpu.c,v 1.5 2011/05/31 13:47:56 jasper Exp $ */
/* $OpenBSD: cpu.c,v 1.6 2011/05/31 14:19:18 jasper Exp $ */
/* Copyright (C) 1998 Joshua Sled
This file is part of LibGTop 1.0.
@ -54,7 +54,7 @@ _glibtop_init_cpu_p (glibtop *server)
void
glibtop_get_cpu_p (glibtop *server, glibtop_cpu *buf)
{
guint64 cpts [CPUSTATES];
gulong cpts [CPUSTATES];
/* sysctl vars*/
struct clockinfo ci;