From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id A81D33852C4B; Wed, 23 Nov 2022 14:40:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A81D33852C4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669214406; bh=RkvWfRF84Dei9HW1jMGVqCFvDe+Lwjf4jmrG/uXbggI=; h=From:To:Subject:Date:From; b=eAk232njFomivZRcUfvl1g6794lUd/errLBvhzIbuBgli15wC1t6Gc2St4cqJfIym L8EADRhAvvLGVC3MKb2YCtQACNGL4Fv21O3l8VnUL0wlK25Mi0VGxp8y3ZRVYcQ0EV 0RZFWr77Z/liRgRMutraZ1qtECupuHg+wM9zshnI= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] Fix resource/bug-ulimit1 test X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: d4a845daaf05e22207243b69624def1ee59607ac X-Git-Newrev: 7ae55dc0aa37c1baec3b4fc71c0a001353ebe7dc Message-Id: <20221123144006.A81D33852C4B@sourceware.org> Date: Wed, 23 Nov 2022 14:40:06 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7ae55dc0aa37c1baec3b4fc71c0a001353ebe7dc commit 7ae55dc0aa37c1baec3b4fc71c0a001353ebe7dc Author: Szabolcs Nagy Date: Fri May 6 14:19:54 2022 +0100 Fix resource/bug-ulimit1 test ulimit is a variadic function and the second argument must have type long (or unsigned long). Diff: --- resource/bug-ulimit1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;