From 7a292a7adf506b866905b06b3024c0fd411c4583 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Mon, 26 Apr 1999 18:34:20 +0000 Subject: import gdb-19990422 snapshot --- gdb/c-typeprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/c-typeprint.c') diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index e15550309dc..c0d0333eb6a 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -913,7 +913,7 @@ c_type_print_base (type, stream, show, level) char *p; char *demangled_no_class = demangled_name; - while (p = strchr (demangled_no_class, ':')) + while ((p = strchr (demangled_no_class, ':'))) { demangled_no_class = p; if (*++demangled_no_class == ':') -- cgit v1.2.3-65-gdbad