From f3cb512dc4daaeed389bb4740e21b6e2330e01e1 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 29 Oct 2011 11:19:44 -0700 Subject: LogVMessageVerb: Fix const mismatch warning "log.c", line 382: warning: assignment type mismatch: pointer to char "=" pointer to const char Signed-off-by: Alan Coopersmith Reviewed-by: Jeremy Huddleston --- os/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/log.c b/os/log.c index 9ee32c93d..671a01bb6 100644 --- a/os/log.c +++ b/os/log.c @@ -371,7 +371,7 @@ LogVMessageVerb(MessageType type, int verb, const char *format, va_list args) { const char *type_str; char tmpFormat[1024]; - char *new_format; + const char *new_format; type_str = LogMessageTypeVerbString(type, verb); if (!type_str) -- cgit v1.2.3