X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..e3d3b979fd185d8303f28a937baa53a187fb8c7d:/libsecurity_utilities/lib/alloc.h?ds=inline 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);