Add casts to memory allocation related calls
[deliverable/binutils-gdb.git] / gdb / mem-break.c
index 0fb53cf9ccb1ba5c2d10ab41bcaebd16d0ede48b..3fbc33b7ad35a3b4f4d8b5f356e845f13f8b1212 100644 (file)
@@ -53,7 +53,7 @@ default_memory_insert_breakpoint (struct gdbarch *gdbarch,
 
   /* Save the memory contents in the shadow_contents buffer and then
      write the breakpoint instruction.  */
-  readbuf = alloca (bplen);
+  readbuf = (gdb_byte *) alloca (bplen);
   val = target_read_memory (addr, readbuf, bplen);
   if (val == 0)
     {
This page took 0.026265 seconds and 4 git commands to generate.