aboutsummaryrefslogtreecommitdiff
path: root/src/libmach
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-14 19:45:11 +0000
committerrsc <devnull@localhost>2006-02-14 19:45:11 +0000
commitdfbfbecfc6343360494b6d515ea8763f85c18f25 (patch)
treea9b773b6d55ce84cca7cc366c566083511aa9e64 /src/libmach
parent943cb39dd9c4d5ee16bc036e495bfc168a3cf745 (diff)
downloadplan9port-dfbfbecfc6343360494b6d515ea8763f85c18f25.tar.gz
plan9port-dfbfbecfc6343360494b6d515ea8763f85c18f25.tar.bz2
plan9port-dfbfbecfc6343360494b6d515ea8763f85c18f25.zip
pointer conversions
Diffstat (limited to 'src/libmach')
-rw-r--r--src/libmach/Linux.c2
-rw-r--r--src/libmach/manglegcc2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libmach/Linux.c b/src/libmach/Linux.c
index bef03ba1..afe94be1 100644
--- a/src/libmach/Linux.c
+++ b/src/libmach/Linux.c
@@ -236,7 +236,7 @@ ptraceregrw(Regs *regs, char *name, ulong *val, int isr)
*val = u;
}else{
u = *val;
- if(ptrace(PTRACE_POKEUSER, pid, addr, (void*)u) < 0)
+ if(ptrace(PTRACE_POKEUSER, pid, addr, (void*)(uintptr)u) < 0)
goto ptraceerr;
}
return 0;
diff --git a/src/libmach/manglegcc2.c b/src/libmach/manglegcc2.c
index 1fae4ebe..a9242cb5 100644
--- a/src/libmach/manglegcc2.c
+++ b/src/libmach/manglegcc2.c
@@ -7,7 +7,7 @@
*
* Not implemented:
* unicode mangling
- * rename operator functions
+ * renaming of operator functions
*/
/*
RULES TO ADD: