pointer conversions

This commit is contained in:
rsc 2006-02-14 19:45:11 +00:00
parent 943cb39dd9
commit dfbfbecfc6
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -7,7 +7,7 @@
*
* Not implemented:
* unicode mangling
* rename operator functions
* renaming of operator functions
*/
/*
RULES TO ADD: