summaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index cd4e8d0ae8d..4983c036b53 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -1543,7 +1543,7 @@ yylex ()
characters; for comparison expressions, e.g. "a < b > c",
there must be spaces before the '<', etc. */
- char * p = find_template_name_end (tokstart + namelen);
+ const char *p = find_template_name_end (tokstart + namelen);
if (p)
namelen = p - tokstart;
break;