diff options
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 4ba512f..48b1a82 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -432,8 +432,8 @@ start_subfile (name, dirname) p = strrchr (subfile->name, '.'); if (p != NULL - && (p[1] == 'C' && p[2] == '\0' - || p[1] == 'c' && p[2] == 'c' && p[3] == '\0')) + && ((p[1] == 'C' && p[2] == '\0') + || (p[1] == 'c' && p[2] == 'c' && p[3] == '\0'))) for (s = subfiles; s != NULL; s = s->next) if (s->language == language_c) s->language = language_cplus; |