summaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-03 20:54:43 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-03 20:54:43 +0000
commita9596cd98aa07c137ed362c7d92df64213b4fa04 (patch)
tree93d2aea2e0fa868da0f9b56626e5cfe8c2341869 /gdb/c-exp.y
parent74eda9eb7acc3c2bd375826f92e8ca233d5f767a (diff)
downloadbinutils-gdb-cagney_writestrings-20030508-branch.tar.gz
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;