2005-05-03 Joel Sherrill <joel@OARcorp.com>

* librdbg/src/ptrace.c: Remove warning.
This commit is contained in:
Joel Sherrill
2005-05-03 22:23:23 +00:00
parent 72ba6689b8
commit d5dbbe5beb
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* librdbg/src/ptrace.c: Remove warning.
2005-05-03 Jennifer Averett <jennifer.averett@oarcorp.com>
* libchip/network/dec21140.c, libchip/network/elnk.c,

View File

@@ -133,7 +133,8 @@ ptrace (int request, int pid, char *addr, int data, char *addr2)
*/
if (diag == 0) {
copyback_data_cache_and_invalidate_instr_cache (addr, sizeof data);
copyback_data_cache_and_invalidate_instr_cache(
(unsigned char *)addr, sizeof data);
return 0;
}
goto mem_error;