aboutsummaryrefslogtreecommitdiff
path: root/lib/mprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mprintf.c')
-rw-r--r--lib/mprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mprintf.c b/lib/mprintf.c
index 02a25f6de..255eb11df 100644
--- a/lib/mprintf.c
+++ b/lib/mprintf.c
@@ -1079,7 +1079,7 @@ static int alloc_addbyter(int output, FILE *data)
else if(infop->len+1 >= infop->alloc) {
char *newptr;
- newptr = (char *)realloc(infop->buffer, infop->alloc*2);
+ newptr = realloc(infop->buffer, infop->alloc*2);
if(!newptr) {
infop->fail = 1;