diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2013-04-05 17:42:25 +0300 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2013-04-05 17:42:25 +0300 |
commit | b5877ab6a59d09fb6009bd89581cad9fab7e7e0c (patch) | |
tree | 26999c8aa1de96929c9ce00637988681e66bec5a /src/lanes.c | |
parent | 968a0e5bcff5b2ba7b29dc5f865ccda70cece7bf (diff) | |
download | lanes-b5877ab6a59d09fb6009bd89581cad9fab7e7e0c.tar.gz lanes-b5877ab6a59d09fb6009bd89581cad9fab7e7e0c.tar.bz2 lanes-b5877ab6a59d09fb6009bd89581cad9fab7e7e0c.zip |
Fix issue #50
When building with Visual Studio, a function call with too many parameters warrants only a warning...
Diffstat (limited to 'src/lanes.c')
-rw-r--r-- | src/lanes.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
2818 | static volatile int /*bool*/ go_ahead; // = 0 | 2818 | static volatile int /*bool*/ go_ahead; // = 0 |
2819 | if( InterlockedCompareExchange( &s_initCount, 1, 0) == 0) | 2819 | if( InterlockedCompareExchange( &s_initCount, 1, 0) == 0) |
2820 | { | 2820 | { |
2821 | init_once_LOCKED( L, on_state_create, nbKeepers, shutdown_timeout, track_lanes, protect_allocator); | 2821 | init_once_LOCKED( L, on_state_create, nbKeepers, shutdown_timeout, track_lanes); |
2822 | go_ahead = 1; // let others pass | 2822 | go_ahead = 1; // let others pass |
2823 | } | 2823 | } |
2824 | else | 2824 | else |
@@ -2836,7 +2836,7 @@ LUAG_FUNC( configure) | |||
2836 | // | 2836 | // |
2837 | if( s_initCount == 0) | 2837 | if( s_initCount == 0) |
2838 | { | 2838 | { |
2839 | init_once_LOCKED( L, on_state_create, nbKeepers, shutdown_timeout, track_lanes, protect_allocator); | 2839 | init_once_LOCKED( L, on_state_create, nbKeepers, shutdown_timeout, track_lanes); |
2840 | s_initCount = 1; | 2840 | s_initCount = 1; |
2841 | } | 2841 | } |
2842 | } | 2842 | } |