projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb.mi/var-cmd.c C++ify
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.mi
/
var-cmd.c
diff --git
a/gdb/testsuite/gdb.mi/var-cmd.c
b/gdb/testsuite/gdb.mi/var-cmd.c
index 0529b67c7f160ca935185f610e233b33c2d1d694..f209106dd6593c8fd228e54717b8082a0518f250 100644
(file)
--- a/
gdb/testsuite/gdb.mi/var-cmd.c
+++ b/
gdb/testsuite/gdb.mi/var-cmd.c
@@
-566,7
+566,7
@@
do_anonymous_type_tests (void)
};
} v = {1, {2}, {3}};
- anon = malloc (sizeof (struct anonymous));
+ anon =
(struct anonymous *)
malloc (sizeof (struct anonymous));
anon->a = 1;
anon->b = 2;
anon->c = (char *) 3;