diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-03-29 12:59:07 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-03-29 12:59:07 +0000 |
commit | da8092f1dc6d1ec7eb08189a64add96cf29b239f (patch) | |
tree | 82dacb1dbbd30f54041d72ed510d58e37ee1e64c /Build/source/texk/kpathsea/xcalloc.c | |
parent | 666722fb84f36ef335598ebeeec630af5d2fd4ab (diff) |
build system: size_t and icu-config version 4.4
git-svn-id: svn://tug.org/texlive/trunk@17609 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/xcalloc.c')
-rw-r--r-- | Build/source/texk/kpathsea/xcalloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/xcalloc.c b/Build/source/texk/kpathsea/xcalloc.c index 0d01c1bcd15..9e1fd9dcb86 100644 --- a/Build/source/texk/kpathsea/xcalloc.c +++ b/Build/source/texk/kpathsea/xcalloc.c @@ -20,14 +20,14 @@ void * -xcalloc (unsigned nelem, unsigned elsize) +xcalloc (size_t nelem, size_t elsize) { void *new_mem = (void*)calloc(nelem ? nelem : 1, elsize ? elsize : 1); if (new_mem == NULL) { fprintf(stderr, - "xcalloc: request for %u elements of size %u failed.\n", - nelem, elsize); + "xcalloc: request for %lu elements of size %lu failed.\n", + (unsigned long)nelem, (unsigned long)elsize); exit(EXIT_FAILURE); } |