Andrew Talbot : quartz: Remove unneeded casts.
Alexandre Julliard
julliard at winehq.org
Thu Jan 17 08:48:34 CST 2008
Module: wine
Branch: master
Commit: 8caed63edb6bb58ea7d43f5ed71e7597f6e11cf1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8caed63edb6bb58ea7d43f5ed71e7597f6e11cf1
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Wed Jan 16 21:57:19 2008 +0000
quartz: Remove unneeded casts.
---
dlls/quartz/systemclock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/systemclock.c b/dlls/quartz/systemclock.c
index 7f52b95..88ac7ad 100644
--- a/dlls/quartz/systemclock.c
+++ b/dlls/quartz/systemclock.c
@@ -113,7 +113,7 @@ static DWORD WINAPI SystemClockAdviseThread(LPVOID lpParam) {
/** First SingleShots Advice: sorted list */
for (it = This->pSingleShotAdvise; NULL != it && (it->rtBaseTime + it->rtIntervalTime) <= curTime; it = it->next) {
/** send event ... */
- SetEvent((HANDLE) it->hEvent);
+ SetEvent(it->hEvent);
/** ... and Release it */
QUARTZ_RemoveAviseEntryFromQueue(This, it);
CoTaskMemFree(it);
@@ -125,7 +125,7 @@ static DWORD WINAPI SystemClockAdviseThread(LPVOID lpParam) {
if (it->rtBaseTime <= curTime) {
DWORD nPeriods = (DWORD) ((curTime - it->rtBaseTime) / it->rtIntervalTime);
/** Release the semaphore ... */
- ReleaseSemaphore((HANDLE) it->hEvent, nPeriods, NULL);
+ ReleaseSemaphore(it->hEvent, nPeriods, NULL);
/** ... and refresh time */
it->rtBaseTime += nPeriods * it->rtIntervalTime;
/*assert( it->rtBaseTime + it->rtIntervalTime < curTime );*/
More information about the wine-cvs
mailing list