summaryrefslogtreecommitdiff
path: root/sysdeps/sun4/prockernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sun4/prockernel.c')
-rw-r--r--sysdeps/sun4/prockernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sun4/prockernel.c b/sysdeps/sun4/prockernel.c
index 603e881b..1b350d8a 100644
--- a/sysdeps/sun4/prockernel.c
+++ b/sysdeps/sun4/prockernel.c
@@ -27,7 +27,7 @@
#include <glibtop_suid.h>
static const unsigned long _glibtop_sysdeps_proc_kernel =
-(1 << GLIBTOP_PROC_KERNEL_K_FLAGS) + (1 << GLIBTOP_PROC_KERNEL_WCHAN);
+(1L << GLIBTOP_PROC_KERNEL_K_FLAGS) + (1L << GLIBTOP_PROC_KERNEL_WCHAN);
/* Provides detailed information about a process. */
@@ -37,7 +37,7 @@ glibtop_get_proc_kernel_p (glibtop *server, glibtop_proc_kernel *buf,
{
struct proc *pp;
- glibtop_init_p (server, (1 << GLIBTOP_SYSDEPS_PROC_KERNEL), 0);
+ glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_PROC_KERNEL), 0);
memset (buf, 0, sizeof (glibtop_proc_kernel));