summaryrefslogtreecommitdiff
path: root/debug/tst-backtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug/tst-backtrace.h')
-rw-r--r--debug/tst-backtrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/tst-backtrace.h b/debug/tst-backtrace.h
index e1c0a82777..a48ac0f4a8 100644
--- a/debug/tst-backtrace.h
+++ b/debug/tst-backtrace.h
@@ -43,6 +43,6 @@ volatile int x;
static inline bool
match (const char *sym, const char *name)
{
- char *p = strchr (sym, '(');
+ const char *p = strchr (sym, '(');
return p != NULL && strstr (p, name) != NULL;
}