summaryrefslogtreecommitdiffstats
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
parent72ba6689b83bcba71e93abadcdc4a08bf63a74fb (diff)
downloadrtems-d5dbbe5beb86a842463e510a14ba5846871e9d35.tar.bz2
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* librdbg/src/ptrace.c: Remove warning.
-rw-r--r--c/src/ChangeLog4
-rw-r--r--c/src/librdbg/src/ptrace.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index d908794e2a..c300f915c0 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -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,
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;