reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 14681a98eb8a40235a799bb73e9b2d6809a37f4a
parent 8152f4652a7f0554b49f22d6470a9aa6c0f27850
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Thu, 25 Oct 2018 15:20:38 -0700

fix stack corruption caused by a wrong calling convention

Bug introduced in 298b5b6a0744f982f45acaa3095040330408ce6e

Diffstat:
Msrc/thread.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/thread.cpp b/src/thread.cpp @@ -20,7 +20,7 @@ #include <reaper_plugin_functions.h> #ifdef _WIN32 - typedef void (*_tls_callback_type)(HANDLE, DWORD const dwReason, LPVOID); + typedef void (__stdcall *_tls_callback_type)(HANDLE, DWORD const dwReason, LPVOID); extern "C" extern const _tls_callback_type __dyn_tls_dtor_callback; #endif