pointer conversions
This commit is contained in:
parent
943cb39dd9
commit
dfbfbecfc6
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue