From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 4D3043857C50; Fri, 5 Aug 2022 19:29:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D3043857C50 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: 14c8e3a355f872745e568c3e852e974f1dad11d3 X-Git-Newrev: d8ecbea3fcdef89fd80d8061f009cb33d40a83f9 Message-Id: <20220805192930.4D3043857C50@sourceware.org> Date: Fri, 5 Aug 2022 19:29:30 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2022 19:29:30 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d8ecbea3fcdef89fd80d8061f009cb33d40a83f9 commit d8ecbea3fcdef89fd80d8061f009cb33d40a83f9 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;