diff --git a/mem2swap.c b/mem2swap.c --- a/mem2swap.c +++ b/mem2swap.c @@ -31,12 +31,12 @@ { int i, n = 0; - long int *p; - long int *p_new; + unsigned long *p; + unsigned long *p_new; char *args[] = { CMD_FREE, CMD_ARGS, NULL }; - int size = sizeof (*p); + unsigned long size = sizeof (*p); int megs = DEFAULT_MEGS; int pid;