index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-05-14 19:38:58 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-14 19:38:58 -0500 |
commit | bf2964dc5841f49d1d5ab60181b0caa4670c1874 (patch) | |
tree | 1f6b1d80c07d28cdf2521396e89c62a35ef98544 /lib/libalpm/util.c | |
parent | fb09d35e6a24ef433005728c77453bce99efd010 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index 65b6372a..55bd46a8 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -238,7 +238,7 @@ int _alpm_copyfile(const char *src, const char *dest) return(1); } - CALLOC(buf, 1, CPBUFSIZE, ret = 1; goto cleanup;); + CALLOC(buf, (size_t)CPBUFSIZE, (size_t)1, ret = 1; goto cleanup;); /* do the actual file copy */ while((len = fread(buf, 1, CPBUFSIZE, in))) { |