Eliminate (void) cast on standalone function calls throughout.

This commit is contained in:
Christopher Faylor
2005-07-06 20:05:03 +00:00
parent dee9edd9ed
commit 0c55f6ed60
41 changed files with 110 additions and 106 deletions

View File

@ -59,7 +59,7 @@ putmem (PIMAGE_THUNK_DATA pi, const void *hookfn)
void *origfn = (void *) pi->u1.Function;
pi->u1.Function = (DWORD) hookfn;
(void) VirtualProtect (pi, sizeof (PVOID), flOldProtect, &flDontCare);
VirtualProtect (pi, sizeof (PVOID), flOldProtect, &flDontCare);
return origfn;
}