From 297e6944a67c1891b9ba194fff0562352a5f8d1f Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sun, 23 Sep 2018 02:09:50 +0200 Subject: Error: Make the msg be const --- test/perf-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/perf-test.cc b/test/perf-test.cc index ea86c910..2db7ceeb 100644 --- a/test/perf-test.cc +++ b/test/perf-test.cc @@ -739,7 +739,7 @@ static void StrList_Destroy(StrList **root) *root = nullptr; } -static void my_error(void *, ErrorCategory, Goffset pos, char *msg) { +static void my_error(void *, ErrorCategory, Goffset pos, const char *msg) { #if 0 char buf[4096], *p = buf; -- cgit v1.2.3