mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-16 21:40:30 +01:00
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 <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
3d2d88029b
commit
f3cb512dc4
1 changed files with 1 additions and 1 deletions
2
os/log.c
2
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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue