X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Futils.c;h=2744581c766a10ac286e8afd0a68a538bf2afc07;hp=f964e7e31d65e7a344909e25e519ad2a51515330;hb=b78007de9802005825390bee71dfce2306b42519;hpb=10eff860a28b96582526eb739fd0a55441669938 diff --git a/sbr/utils.c b/sbr/utils.c index f964e7e..2744581 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -31,7 +31,7 @@ mh_xrealloc(void *ptr, size_t size) /* Some non-POSIX realloc()s don't cope with realloc(NULL,sz) */ if (!ptr) { - return mh_xcalloc((size_t) 1, size); + return mh_xcalloc(1, size); } if (size == 0) { adios(EX_SOFTWARE, NULL, "Tried to realloc 0 bytes");