summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cpio.c2
1 files changed, 1 insertions, 1 deletions
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;