Make pointer in Log.cpp const to avoid deprecated conversion warning on gcc.
This commit is contained in:
@@ -57,7 +57,7 @@ namespace XPC
|
|||||||
|
|
||||||
static void WriteLevel(FILE* fd, int level)
|
static void WriteLevel(FILE* fd, int level)
|
||||||
{
|
{
|
||||||
char* str;
|
const char* str;
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case LOG_OFF:
|
case LOG_OFF:
|
||||||
|
|||||||
Reference in New Issue
Block a user