Using u_int64_t' instead of unsigned long' and `long' to avoid problems

1998-07-30  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/*.h: Using `u_int64_t' instead of `unsigned long'
	and `long' to avoid problems when client is on a 32bit system and
	the server on a 64bit system.
This commit is contained in:
Martin Baulig
1998-07-30 14:24:19 +00:00
committed by Martin Baulig
parent d18a6cf2ce
commit 902b6a8f16
35 changed files with 128 additions and 111 deletions

View File

@@ -44,8 +44,8 @@ typedef struct _glibtop_proc_kernel glibtop_proc_kernel;
struct _glibtop_proc_kernel
{
unsigned long flags;
unsigned long k_flags, /* kernel flags for the process */
u_int64_t flags;
u_int64_t k_flags, /* kernel flags for the process */
min_flt, /* number of minor page faults since
* process start */
maj_flt, /* number of major page faults since