*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / valops.c
index 57c8b78d25f1f199c5ad3927f3a19db00731db5a..54c81ac2f0acf98406934874fd9b8805a991da7c 100644 (file)
@@ -1039,7 +1039,7 @@ value_string (char *ptr, int len)
      copy LEN bytes from PTR in gdb to that address in the inferior. */
 
   addr = allocate_space_in_inferior (len);
-  write_memory (addr, ptr, len);
+  write_memory (addr, (gdb_byte *) ptr, len);
 
   val = value_at_lazy (stringtype, addr);
   return (val);
@@ -2269,7 +2269,7 @@ check_field_in (struct type *type, const char *name)
    target structure/union is defined, otherwise, return 0.  */
 
 int
-check_field (struct value *arg1, const gdb_byte *name)
+check_field (struct value *arg1, const char *name)
 {
   struct type *t;
 
This page took 0.023182 seconds and 4 git commands to generate.