From 49ee4ba1398aa71ad494e94099d75a7c830b6fe9 Mon Sep 17 00:00:00 2001 From: Andy Ayers Date: Tue, 9 Feb 2016 08:46:16 -0800 Subject: [PATCH] Fix const string literal warning This came up during an FI from LLVM, testing LLILC, see microsoft/llvm#140 . --- src/jit/flowgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jit/flowgraph.cpp b/src/jit/flowgraph.cpp index 47e3b5c..e95a8db 100644 --- a/src/jit/flowgraph.cpp +++ b/src/jit/flowgraph.cpp @@ -4631,7 +4631,7 @@ DECODE_OPCODE: //Consider making this only for not force inline. if (compIsForInlining()) { - char *message; + const char* message; #ifdef DEBUG message = (char*)compAllocator->nraAlloc(128); sprintf((char*)message, "Unsupported opcode for inlining: %s\n", -- 2.7.4