Browse Source

Fixed wrong parameter name for unix systems.

Former-commit-id: 7cab693ae6
tempestpy_adaptions
fp893004 11 years ago
parent
commit
e452d58ed0
  1. 2
      src/utility/ErrorHandling.h

2
src/utility/ErrorHandling.h

@ -164,7 +164,7 @@ VOID CALLBACK stormWindowsSetTimerCallBack(
void stormSetAlarm(uint_fast64_t timeoutSeconds) {
#ifndef WINDOWS
alarm(timeout);
alarm(timeoutSeconds);
#else
// This needs more research (http://msdn.microsoft.com/en-us/library/windows/desktop/ms644906(v=vs.85).aspx)
UINT_PTR retVal = SetTimer(NULL, 0, static_cast<UINT>(timeoutSeconds * 1000), static_cast<TIMERPROC>(&stormWindowsSetTimerCallBack));

Loading…
Cancel
Save