mem2swap.c
changeset 167 7c6b221900bf
parent 139 cb1d3f4cf18e
child 169 df7c720bcaa6
--- 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;