fixed format warn

This commit is contained in:
git@daemon.de
2016-01-21 13:13:21 +01:00
parent a67149229f
commit 46ab78c56f

View File

@@ -83,7 +83,7 @@ void *ucrealloc(void *d, size_t oldlen, size_t newlen) {
byte *value = realloc (d, newlen);
if (value == NULL) {
err(errno, "Cannot reallocate %ld bytes of memory", newlen);
err(errno, "Cannot reallocate %"FMT_SIZE_T" bytes of memory", (SIZE_T_CAST)newlen);
exit(-1);
}