diff options
author | Christopher Faylor <me@cgf.cx> | 2005-07-07 00:05:03 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-07-07 00:05:03 +0400 |
commit | 0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch) | |
tree | bddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/hookapi.cc | |
parent | dee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff) |
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/hookapi.cc')
-rw-r--r-- | winsup/cygwin/hookapi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/hookapi.cc b/winsup/cygwin/hookapi.cc index 9fe62383c..6542a6ebe 100644 --- a/winsup/cygwin/hookapi.cc +++ b/winsup/cygwin/hookapi.cc @@ -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; } |