summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-07-06 20:05:03 +0000
committerChristopher Faylor <me@cgf.cx>2005-07-06 20:05:03 +0000
commit0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch)
treebddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/fhandler.cc
parentdee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff)
downloadcygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.gz
cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.bz2
cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.zip
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index b619b28b3..e5e14fc92 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -230,14 +230,14 @@ fhandler_base::raw_read (void *ptr, size_t& ulen)
{
h = GetCurrentThread ();
prio = GetThreadPriority (h);
- (void) SetThreadPriority (h, THREAD_PRIORITY_TIME_CRITICAL);
+ SetThreadPriority (h, THREAD_PRIORITY_TIME_CRITICAL);
signal_read_state (1);
}
BOOL res = ReadFile (get_handle (), ptr, len, (DWORD *) &ulen, 0);
if (read_state)
{
signal_read_state (1);
- (void) SetThreadPriority (h, prio);
+ SetThreadPriority (h, prio);
}
if (!res)
{