gdb.python/{py-framefilter-mi,py-framefilter}.c C++ify
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.python / py-framefilter-mi.c
index 10779069d58165eb4e03edd0ace221903d087ca0..bc2ad1e4a050eb19cb9d09cfe35864b1bcdf4e57 100644 (file)
@@ -83,8 +83,8 @@ void funca(void)
   fb.f = 42;
   fb.s = 19;
 
-  bf = malloc (sizeof (foobar));
-  bf->nothing = malloc (128);
+  bf = (foobar *) malloc (sizeof (foobar));
+  bf->nothing = (char *) malloc (128);
   bf->nothing = "Bar Foo";
   bf->f = 24;
   bf->s = 91;
This page took 0.024443 seconds and 4 git commands to generate.