From da8092f1dc6d1ec7eb08189a64add96cf29b239f Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 29 Mar 2010 12:59:07 +0000 Subject: build system: size_t and icu-config version 4.4 git-svn-id: svn://tug.org/texlive/trunk@17609 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/xmalloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/kpathsea/xmalloc.c') diff --git a/Build/source/texk/kpathsea/xmalloc.c b/Build/source/texk/kpathsea/xmalloc.c index 70871a5ae14..65a0d2d0ca2 100644 --- a/Build/source/texk/kpathsea/xmalloc.c +++ b/Build/source/texk/kpathsea/xmalloc.c @@ -1,6 +1,6 @@ /* xmalloc.c: malloc with error checking. - Copyright 1992, 1993, 2008 Karl Berry. + Copyright 1992, 1993, 2008, 2010 Karl Berry. Copyright 2005 Olaf Weber. This library is free software; you can redistribute it and/or @@ -20,13 +20,13 @@ void * -xmalloc (unsigned size) +xmalloc (size_t size) { void *new_mem = (void *)malloc(size ? size : 1); if (new_mem == NULL) { - fprintf(stderr, "fatal: memory exhausted (xmalloc of %u bytes).\n", - size); + fprintf(stderr, "fatal: memory exhausted (xmalloc of %lu bytes).\n", + (unsigned long)size); exit(EXIT_FAILURE); } -- cgit v1.2.3