Message ID | d06cbd9f2dbdbaeeb59ddd5e3da1f0661f290ba3.1666877952.git.szabolcs.nagy@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=eV5LtObn; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Myqcm2Ry5z23kj for <incoming@patchwork.ozlabs.org>; Fri, 28 Oct 2022 02:40:08 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3F9EB3895FC2 for <incoming@patchwork.ozlabs.org>; Thu, 27 Oct 2022 15:40:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3F9EB3895FC2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666885206; bh=kuF+qDGzJhyalGKwfk33WrBGayTwByU3VPBEXwhE7Xs=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=eV5LtObnMnGOlqZJtMHvh3RTw5rVMRxnPM9Pzm5bxueqC2bHC/6XeYu7jwkbJbTPJ Eb39CqlAYu6+JzFOsQvQqF3xQ65rrBs2Ulv7wHJyjkB6Tke7u1bhIRCBvPMkxs/rHL FApyoCmDM69f397TRR75cynoJAhToMVzGuVODY0s= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2081.outbound.protection.outlook.com [40.107.22.81]) by sourceware.org (Postfix) with ESMTPS id A24AC389942B for <libc-alpha@sourceware.org>; Thu, 27 Oct 2022 15:34:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A24AC389942B ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=YHnuua5mU43YbW02C1HSAEerQNsdDVmdjoiKZYQWvhoXFQUq6WtxCMbeneZlp4XabcV3iXPPgYSrJJ0ihVHCdA/vQD0GHG+uzR3WneMa7ZphEqlm9NDsP0l3OrZBAN7onuRMk4I3JlxzXyDQB04rgccOjzJAdmdMMK8NCL8lzdeuslOfn7+LKS5P5Djd0w941jSNf9b5KmBGHoXyIHIpl/1/yuf3bYWXb7rxnEXSiv3Cit6sQdN9l3nri9Eadlxjv4B/5n3a3AqrBCfk6jOqa0BblS4do4fOdcxHYRq7t1Ug9DNcvw0kGIgd7TpytYBoi7k4tWQy7izpXu3qAevwkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kuF+qDGzJhyalGKwfk33WrBGayTwByU3VPBEXwhE7Xs=; b=Zvuwe6hw4IwFINU6ng8J259ijqKt90OWd/4arHFJleMvJI1SFugs18nFFtEvE/nz8BgzITzzFWkyB03Um4oKexVxIXUE7M5s4wqf5tZf2//bnm2mi7O252vuj7XzKp4QM3lDFE9pxjpCeD05XuEqBej+nEy4nedn7AwHF6TZV8GKQQpPXXuf/lC5+r1EGnyVp0eh+RfmzAw/NcC7G28Rc50M/FYCex0JZdA2tnYNAZTJTgTCkVcz+ooAS+QIuP4nejba9ZTSE7+B64NoE5Q4Ms+UrHGXyCNiyP9HDTW+acleL7hQEL7AKVD9rfgospwO3SO0/6yuyC1PXTS75ML6tg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1, 1, smtp.mailfrom=arm.com] dmarc=[1, 1, header.from=arm.com]) Received: from DB6PR1001CA0032.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::18) by DB9PR08MB8739.eurprd08.prod.outlook.com (2603:10a6:10:3d1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 15:34:02 +0000 Received: from DBAEUR03FT007.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:55:cafe::57) by DB6PR1001CA0032.outlook.office365.com (2603:10a6:4:55::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28 via Frontend Transport; Thu, 27 Oct 2022 15:34:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT007.mail.protection.outlook.com (100.127.142.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.14 via Frontend Transport; Thu, 27 Oct 2022 15:34:02 +0000 Received: ("Tessian outbound b4aebcc5bc64:v130"); Thu, 27 Oct 2022 15:34:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d0960039d3962aa0 X-CR-MTA-TID: 64aa7808 Received: from 642317ca50c2.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BECD2E7D-ACA5-43C7-8C59-1262E9398C26.1; Thu, 27 Oct 2022 15:33:56 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 642317ca50c2.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 27 Oct 2022 15:33:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MVcnL/XgIYgGJQU5rh1z7Agjp8wFHw90C//XS1lspr6KD444uD4QCW71A8Sn2tSj4TlB1PuMInx8iU/g3C2R18jmBnv0g/bFZbl0c8Ig75+zEX1QD1B4sv7dtCTd+eBilbqOBcdDpUm6SDAczZQzTjJicyI5iEJLZrtpS5Er82dPW91wMAQG74jDCv0EdZhYFyJ4jAD/hHMIsaBRawh0Xse6ciE5bUqh7/+50phUiBlqorzK+ZDr+EqT0iayxUl+r9Omj6KX+QLfwU0ZPxLd2pY8clyr2GiECDQpTDnMKQCT8QM86hfDTZdWOqqypDRtvEXvvP4vu1bA/5pGQPDRdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kuF+qDGzJhyalGKwfk33WrBGayTwByU3VPBEXwhE7Xs=; b=Q6xdX+IEXzKHGPsYVIy46a9QIoMlrNyaCAgds9wPSR12oudN94gZEqLHNH8eZU/fl+LaDPqo5pgN5PlaWp6TPod/XurdagHm52fbA2+oUJpxk5+MtvFQoOSPCyUMSyAq6ngDpugiU2l2SCioDDZ76ioPrP5Ao5vHgu89FDmbVOl0XZuuE5F08TudPkGWH2uDuRw3tX1d3v884VnDdMQNEGMN4c408gVZioLaD6YsWWmYjE3wkHQgFXXVvQ/wE+Lt6E24CdV+ra+Olzia6SycMH+7nefjzpvCcSh0O+/YKn7AXqAZlcYpsIleblRVcaJh/1Y6lFuVrQ8hBPRvfuOYvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none Received: from AM6P191CA0048.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:7f::25) by DB9PR08MB8737.eurprd08.prod.outlook.com (2603:10a6:10:3d3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 15:33:55 +0000 Received: from AM7EUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:7f:cafe::ad) by AM6P191CA0048.outlook.office365.com (2603:10a6:209:7f::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28 via Frontend Transport; Thu, 27 Oct 2022 15:33:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT027.mail.protection.outlook.com (100.127.140.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5746.19 via Frontend Transport; Thu, 27 Oct 2022 15:33:55 +0000 Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 27 Oct 2022 15:33:55 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 27 Oct 2022 15:33:55 +0000 Received: from armchair.cambridge.arm.com (10.2.80.71) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Thu, 27 Oct 2022 15:33:54 +0000 To: <libc-alpha@sourceware.org> Subject: [PATCH 19/20] Fix resource/bug-ulimit1 test Date: Thu, 27 Oct 2022 16:33:54 +0100 Message-ID: <d06cbd9f2dbdbaeeb59ddd5e3da1f0661f290ba3.1666877952.git.szabolcs.nagy@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1666877952.git.szabolcs.nagy@arm.com> References: <cover.1666877952.git.szabolcs.nagy@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT027:EE_|DB9PR08MB8737:EE_|DBAEUR03FT007:EE_|DB9PR08MB8739:EE_ X-MS-Office365-Filtering-Correlation-Id: 492ff184-4e53-47bd-95bc-08dab830ad00 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ggBkCZrYmx3oahdrL9ud2xRv2t4mFHcnbhkAbsbfUBL0LxqODrXXeL6tHEsEHTBdB/0B4R1NmFJnhm1cHfJ94/maL5zKc8wk2inyXdOoQoG+NIBHE0ZVLwZWjQ7uXrylOr9x5zOnl0xfkq7HkkI2P7itCR4cwCMu/kkzzWUiAjZTOF1hhKd/OIN9QDfu5fPwTmrxODE8ljB2vljA4ujKP4Ixejhfo+bsQ/Mk7l5meev+ihXmLaEglW8CeQfpIxCJErR7w7WgYaAsP42iXmU/EpJI8D4OOEiy2mevfCyvj2iP+Itqks8V91hZZ+Lx87NzyWfjtjXD9kkEWh2c59xB7yDhod0RBVuJW2anE+FhiuQZQcrnMQpAAiS/XHyxnoknHsCZgm2RdayUwXWwJxHbsUZT5hNPSEuqx5xELVMx4C/1UqFa3HzOM3Sy5mrXp56uwqxSKGczRlOLydApzfrjD1kdGBRSryN4HvRx30P8HstSFfwKrSAQD9vRgtGhepUNzGPsllJTMvHewX2y43B0hBz5fj+bfEBfs9M4IvK18WFISI+XdNT4dwvO4GTYMHwrRT/3ZpvI3Uymedb9x2qkb/lLXu4LADtri/DVTAiUqTaWCskxqoPqGt2Ere7/mhhQdv8OKU/JwtpI4kHmdEyTxyPBs5a4XcZ66Sv1ILWhHPAtwb4EWyuClOkG3Wrv5gRONROhPmLGIdV5Usx8k9oeu4NVrKgQSUbfSPcJHGb5S+vFhWsdvrF7cFVMX2r8H5KFB0CYQ1djYEWyQuFXRFTmrjAnCxzaVTTiGxI9LxQuSd1MaP8BMxOImzcPvXtzsKmP X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(346002)(376002)(396003)(136003)(39860400002)(451199015)(40470700004)(46966006)(36840700001)(186003)(5660300002)(336012)(47076005)(83380400001)(2906002)(356005)(2616005)(81166007)(86362001)(426003)(44832011)(82740400003)(40460700003)(82310400005)(8936002)(41300700001)(40480700001)(70206006)(26005)(8676002)(6916009)(7696005)(478600001)(4744005)(36860700001)(316002)(70586007)(36756003)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8737 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 077beccd-fc03-4bfc-fd2a-08dab830a8c9 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4JIg9Tcft9rpWVBc8UR5o33NO2hTvgdmOB5Jj35LdymQ1lelu/KNkHNsEhZHEbjtsZNE3l3T/noSZe06ocHh36xRRplKdn1t4dKJlNTayBWLE4+OSgHHzqpPJ5HhUfeeqJ3WSXRPBh0eDwr3XAOclliIAXUBW0HNce4fhvhGqB7RAQpbtBxd6QStvaog4lcfc7mQ3R3Kiu4o62ctyGTQDjhT0XVp+4e83+EDMZC/XYLPyat7vGJGTPEPxTAO3LJSBP9zmeQOxZWvu/yszTUV/+6ZSnXuKaK5jwxQ7ezdHzLLWr+36/scoEusqdgfwSsAseVku50qfStecP7jDyIB3ZR/vb791ToOanjTdWcLulYeNAYfuXuCDHXrlg6Ab4ouPdic02blSr08cLV6Z+JDqMcO2yPYq3LT1vU3+23y954St4TOEgHHhTc11FYfMhLgSKpYbNfxarshe2j23zbNLhH2Ly8OB1AJlVXPtvA2UqXJhElwAFE+ZtGlCKwfo7Nok3J2Z7m2tkEMddu7vU5AefkfA/LirGeUaoW6TQkrEklLFfDkutPj9Xg2SYK6dBpJdDFaCO+VgCDh8urLYy5G3IKPSx5ImG7OnHf3iLtoGLKR0p3wpaUhmrToZdcGj4T5LgusEPXOASka3b1anpr6D0bXkkIJM0CxgQSbtdTSNetMKoyE4HG2YQ5JXJiDITdH4tthMB+LihUzk/V5yRTrkBt2UMWj0XINQYcP/Fm8VQP/MgmRu5UgRwofaQYb9lSGeJO3405Oh0KNHOQ2lStr6g== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230022)(4636009)(346002)(376002)(396003)(136003)(39860400002)(451199015)(46966006)(40470700004)(36840700001)(8936002)(5660300002)(82740400003)(2616005)(2906002)(83380400001)(47076005)(186003)(81166007)(86362001)(336012)(426003)(44832011)(40460700003)(82310400005)(7696005)(4744005)(26005)(40480700001)(70206006)(8676002)(478600001)(316002)(36860700001)(6916009)(70586007)(41300700001)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 15:34:02.6784 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 492ff184-4e53-47bd-95bc-08dab830ad00 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8739 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Szabolcs Nagy via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Szabolcs Nagy <szabolcs.nagy@arm.com> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> |
Series |
patches from the morello port
|
expand
|
On 27/10/22 12:33, Szabolcs Nagy via Libc-alpha wrote: > ulimit is a variadic function and the second argument must have type > long (or unsigned long). LGTM, thanks. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> > --- > 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;
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;