File magicrescue-fix_size_t_printf.patch of Package magicrescue
--- tools/textextract.c.orig 2010-03-17 10:29:58.000000000 +0100
+++ tools/textextract.c 2010-03-17 10:30:42.000000000 +0100
@@ -364,7 +364,7 @@
bufsize = max_reverse;
buf = malloc(bufsize);
if (!buf) {
- fprintf(stderr, "Failed to allocate %u bytes of memory\n", bufsize);
+ fprintf(stderr, "Failed to allocate %zu bytes of memory\n", bufsize);
return 1;
}