pointer conversions
This commit is contained in:
parent
943cb39dd9
commit
dfbfbecfc6
@ -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;
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Not implemented:
|
||||
* unicode mangling
|
||||
* rename operator functions
|
||||
* renaming of operator functions
|
||||
*/
|
||||
/*
|
||||
RULES TO ADD:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user