From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RwOAN-0006ic-P0 for garchives@archives.gentoo.org; Sun, 12 Feb 2012 01:23:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D2F7E058E; Sun, 12 Feb 2012 01:23:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6947AE058E for ; Sun, 12 Feb 2012 01:23:38 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEF631B4006 for ; Sun, 12 Feb 2012 01:23:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 96816E53FF for ; Sun, 12 Feb 2012 01:23:36 +0000 (UTC) From: "Christian Ruppert" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christian Ruppert" Message-ID: Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc.c X-VCS-Directories: src/rc/ X-VCS-Committer: idl0r X-VCS-Committer-Name: Christian Ruppert X-VCS-Revision: d9dc5dc42314368a65579967c02af4945cb8c312 Date: Sun, 12 Feb 2012 01:23:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: da42927c-2eb5-4fbd-919f-dfb0f132f61e X-Archives-Hash: ea328c2c834736ea203f2a826ab0e1b8 commit: d9dc5dc42314368a65579967c02af4945cb8c312 Author: Christian Ruppert gentoo org> AuthorDate: Sun Feb 12 01:23:04 2012 +0000 Commit: Christian Ruppert gentoo org> CommitDate: Sun Feb 12 01:23:04 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3Dd9dc5dc4 Use size_t instead of int --- src/rc/rc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rc/rc.c b/src/rc/rc.c index 612cad0..77d2c6d 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -333,11 +333,11 @@ set_krunlevel(const char *level) return true; } =20 -static int +static size_t get_krunlevel(char *buffer, int buffer_len) { FILE *fp; - int i =3D 0; + size_t i =3D 0; =20 if (!exists(RC_KRUNLEVEL)) return 0;