fix p_realloc macro

This commit is contained in:
Julien Danjou 2007-09-19 19:56:10 +02:00
parent 22013d2a24
commit 7cb62508da
1 changed files with 1 additions and 1 deletions

2
util.h
View File

@ -32,7 +32,7 @@
#define p_new(type, count) ((type *)xmalloc(sizeof(type) * (count)))
#define p_clear(p, count) ((void)memset((p), 0, sizeof(*(p)) * (count)))
#define p_realloc(pp, count) xrealloc((void*)(pp) sizeof(**(pp) * (count)))
#define p_realloc(pp, count) xrealloc((void*)(pp), sizeof(**(pp)) * (count))
#define p_dup(p, count) xmemdup((p), sizeof(*(p)) * (count))
#ifdef __GNUC__