aboutsummaryrefslogtreecommitdiff
path: root/resource
diff options
context:
space:
mode:
Diffstat (limited to 'resource')
-rw-r--r--resource/bug-ulimit1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resource/bug-ulimit1.c b/resource/bug-ulimit1.c
index 334d7ff..8dd3ddf 100644
--- a/resource/bug-ulimit1.c
+++ b/resource/bug-ulimit1.c
@@ -7,7 +7,7 @@ main (void)
int retval = 0;
long int res;
- res = ulimit (UL_SETFSIZE, 10000);
+ res = ulimit (UL_SETFSIZE, 10000L);
printf ("Result of ulimit (UL_SETFSIZE, 10000): %ld\n", res);
if (res != 10000)
retval = 1;