]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/lib.h
Use size_t in xmalloc_zero.
[libucw.git] / ucw / lib.h
index 9612e6c711148a6e184df95a89920339e4dc1765..28145ac96dedd1d37f46e56603e88ee182b11a2a 100644 (file)
--- a/ucw/lib.h
+++ b/ucw/lib.h
@@ -163,7 +163,7 @@ void *xmalloc(size_t) LIKE_MALLOC;          /** Allocate memory and die() if there is no
 void *xrealloc(void *, size_t);                        /** Reallocate memory and die() if there is none. **/
 void xfree(void *);                            /** Free memory allocated by xmalloc() or xrealloc(). **/
 
-void *xmalloc_zero(uns) LIKE_MALLOC;           /** Allocate memory and fill it by zeroes. **/
+void *xmalloc_zero(size_t) LIKE_MALLOC;                /** Allocate memory and fill it by zeroes. **/
 char *xstrdup(const char *) LIKE_MALLOC;       /** Make a xmalloc()'ed copy of a string. Returns NULL for NULL string. **/
 
 /*** === Trivial timers (timer.c) ***/