Change strntoul to using size_t for sizes.
authorRalf Corsépius <corsepiu@fedoraproject.org>
Thu, 4 Oct 2007 07:23:50 +0000 (09:23 +0200)
committerRalf Corsépius <corsepiu@fedoraproject.org>
Thu, 4 Oct 2007 07:23:50 +0000 (09:23 +0200)
lib/cpio.c

index 2b8788d..f7850c4 100644 (file)
@@ -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;