summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-04 09:23:50 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-04 09:23:50 +0200
commit4fa0c255494a535780b98d7877657aa187080fde (patch)
tree8cefb6ae7bd41a7eda530af2fa1d6a57042de8b4
parent6d77a00e54d32d3543f71df7d46408cd553cb4f5 (diff)
downloadrpm-4fa0c255494a535780b98d7877657aa187080fde.tar.gz
rpm-4fa0c255494a535780b98d7877657aa187080fde.tar.bz2
rpm-4fa0c255494a535780b98d7877657aa187080fde.zip
Change strntoul to using size_t for sizes.
-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;