2004-06-21 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / cp-namespace.c
index a731352c6e49bffc0ebe106bfe5c4a46519f5bee..910289ff3ce579a76242c862c1196745df5474ec 100644 (file)
@@ -603,7 +603,7 @@ static struct type *
 cp_lookup_transparent_type_loop (const char *name, const char *scope,
                                 int length)
 {
-  int scope_length = cp_find_first_component (scope + length);
+  int scope_length = length + cp_find_first_component (scope + length);
   char *full_name;
 
   /* If the current scope is followed by "::", look in the next
This page took 0.023774 seconds and 4 git commands to generate.