From e452d58ed01d721964898dd412ae61720600b8eb Mon Sep 17 00:00:00 2001 From: fp893004 Date: Wed, 26 Feb 2014 14:38:44 +0100 Subject: [PATCH] Fixed wrong parameter name for unix systems. Former-commit-id: 7cab693ae6c211d3fdeff78b4c158612a163f33e --- src/utility/ErrorHandling.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility/ErrorHandling.h b/src/utility/ErrorHandling.h index 0872757b6..5b9b50bdc 100644 --- a/src/utility/ErrorHandling.h +++ b/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(timeoutSeconds * 1000), static_cast(&stormWindowsSetTimerCallBack));