From efc99c3eae77e36ca879451d8e154c24cb89ef5b Mon Sep 17 00:00:00 2001 From: Jason Watkins Date: Mon, 8 Jun 2015 09:40:11 -0700 Subject: [PATCH] Make pointer in Log.cpp const to avoid deprecated conversion warning on gcc. --- xpcPlugin/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcPlugin/Log.cpp b/xpcPlugin/Log.cpp index 411cdb4..7b849dd 100644 --- a/xpcPlugin/Log.cpp +++ b/xpcPlugin/Log.cpp @@ -57,7 +57,7 @@ namespace XPC static void WriteLevel(FILE* fd, int level) { - char* str; + const char* str; switch (level) { case LOG_OFF: