summaryrefslogtreecommitdiffstats
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r--gcc/cpphash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index c26f7b54c4c..dee77a98e42 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -104,7 +104,7 @@ cpp_lookup (pfile, name, len)
do
{
- r = HASHSTEP (r, str);
+ r = HASHSTEP (r, *str);
str++;
}
while (--n);
OpenPOWER on IntegriCloud