From b5877ab6a59d09fb6009bd89581cad9fab7e7e0c Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 5 Apr 2013 17:42:25 +0300 Subject: Fix issue #50 When building with Visual Studio, a function call with too many parameters warrants only a warning... --- src/lanes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lanes.c') diff --git a/src/lanes.c b/src/lanes.c index d4bd105..42914b8 100644 --- a/src/lanes.c +++ b/src/lanes.c @@ -2818,7 +2818,7 @@ LUAG_FUNC( configure) static volatile int /*bool*/ go_ahead; // = 0 if( InterlockedCompareExchange( &s_initCount, 1, 0) == 0) { - init_once_LOCKED( L, on_state_create, nbKeepers, shutdown_timeout, track_lanes, protect_allocator); + init_once_LOCKED( L, on_state_create, nbKeepers, shutdown_timeout, track_lanes); go_ahead = 1; // let others pass } else @@ -2836,7 +2836,7 @@ LUAG_FUNC( configure) // if( s_initCount == 0) { - init_once_LOCKED( L, on_state_create, nbKeepers, shutdown_timeout, track_lanes, protect_allocator); + init_once_LOCKED( L, on_state_create, nbKeepers, shutdown_timeout, track_lanes); s_initCount = 1; } } -- cgit v1.2.3-55-g6feb