aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mprintf.c b/lib/mprintf.c
index 9d446070c..91f10fcb0 100644
--- a/lib/mprintf.c
+++ b/lib/mprintf.c
@@ -864,7 +864,7 @@ static int dprintf_formatf(
p->flags &= (~FLAGS_ALT);
}
else {
- str = "";
+ str = (char *)"";
len = 0;
}
}