From 4fa0c255494a535780b98d7877657aa187080fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Thu, 4 Oct 2007 09:23:50 +0200 Subject: Change strntoul to using size_t for sizes. --- lib/cpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/cpio.c b/lib/cpio.c index 2b8788d31..f7850c424 100644 --- a/lib/cpio.c +++ b/lib/cpio.c @@ -27,7 +27,7 @@ * @param num max no. of bytes to read * @return converted integer */ -static int strntoul(const char *str,char **endptr, int base, int num) +static int strntoul(const char *str,char **endptr, int base, size_t num) { char * buf, * end; unsigned long ret; -- cgit v1.2.3