--- a/set_limit.c +++ b/set_limit.c @@ -8,7 +8,7 @@ #define MINIMUM (2*1024*1024) -int set_limit (int megs) +int set_limit (unsigned long megs) { struct rlimit rlim;