summaryrefslogtreecommitdiffstats
path: root/c/src/librdbg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-05-03 22:23:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-05-03 22:23:23 +0000
commitd5dbbe5beb86a842463e510a14ba5846871e9d35 (patch)
treec80811915e0e826e1072d4110951e35374c0ac38 /c/src/librdbg
parent72ba6689b83bcba71e93abadcdc4a08bf63a74fb (diff)
downloadrtems-d5dbbe5beb86a842463e510a14ba5846871e9d35.tar.bz2
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* librdbg/src/ptrace.c: Remove warning.
Diffstat (limited to 'c/src/librdbg')
-rw-r--r--c/src/librdbg/src/ptrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/librdbg/src/ptrace.c b/c/src/librdbg/src/ptrace.c
index d3603e4489..f77d1dc2ff 100644
--- a/c/src/librdbg/src/ptrace.c
+++ b/c/src/librdbg/src/ptrace.c
@@ -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;