diff --git a/mozilla/widget/src/windows/nsWindow.cpp b/mozilla/widget/src/windows/nsWindow.cpp index b4959b96e9a..80612f83e71 100644 --- a/mozilla/widget/src/windows/nsWindow.cpp +++ b/mozilla/widget/src/windows/nsWindow.cpp @@ -4338,7 +4338,7 @@ nsWindow::Flash() { // If window is in foreground, no notification is necessary. if ( GetForegroundWindow() != mWnd ) { // Kick off timer that does single flash till window comes to foreground. - SetTimer( mWnd, NS_FLASH_TIMER_ID, GetCaretBlinkTime(), ((int (__stdcall*)(void))nsFlashTimerFunc) ); + SetTimer( mWnd, NS_FLASH_TIMER_ID, GetCaretBlinkTime(), (TIMERPROC)nsFlashTimerFunc ); } return NS_OK;