X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..420ff9d9379a8d93f2c90f026a797bdea1eb4517:/libsecurity_utilities/lib/alloc.h diff --git a/libsecurity_utilities/lib/alloc.h b/libsecurity_utilities/lib/alloc.h index 100354ab..2f227768 100644 --- a/libsecurity_utilities/lib/alloc.h +++ b/libsecurity_utilities/lib/alloc.h @@ -72,7 +72,7 @@ public: { return reinterpret_cast(realloc(addr, size)); } // All right, if you *really* have to have calloc... - void *calloc(size_t size, unsigned int count) throw(std::bad_alloc) + void *calloc(size_t size, size_t count) throw(std::bad_alloc) { void *addr = malloc(size * count); memset(addr, 0, size * count);