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

@@ -69,7 +69,7 @@ glibtop_get_proc_signal_s (glibtop *server, glibtop_proc_signal *buf, pid_t pid)
sscanf(tmp + 2, /* skip space after ')' too */
"%*c %*d %*d %*d %*d %*d %*u %*u %*u %*u %*u "
"%*d %*d %*d %*d %*d %*d %*u %*u %*d %*u "
"%*u %*u %*u %*u %*u %*u %*u %d %d %d %d",
"%*u %*u %*u %*u %*u %*u %*u %Lu %Lu %Lu %Lu",
&buf->signal, &buf->blocked, &buf->sigignore,
&buf->sigcatch);