aboutsummaryrefslogtreecommitdiff
path: root/resource/bug-ulimit1.c
diff options
context:
space:
mode:
Diffstat (limited to 'resource/bug-ulimit1.c')
-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 334d7fff04..8dd3ddf493 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;