Fixed a bunch of warnings.

* msg_limits.c: (glibtop_get_msg_limits_s):
	* sem_limits.c: (glibtop_get_sem_limits_s):
	* shm_limits.c: (glibtop_get_shm_limits_s):

	Fixed a bunch of warnings.
This commit is contained in:
Benoît Dejean
2006-04-02 09:16:20 +00:00
parent a7cf016d67
commit 2083db6c34
4 changed files with 11 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ glibtop_get_shm_limits_s (glibtop *server, glibtop_shm_limits *buf)
memset (buf, 0, sizeof (glibtop_shm_limits));
shmctl (0, IPC_INFO, (struct shmid_ds *) &shminfo);
shmctl (0, IPC_INFO, (void *) &shminfo);
buf->shmmax = shminfo.shmmax;
buf->shmmin = shminfo.shmmin;