diff options
author | Jason Evans <jasone@canonware.com> | 2015-07-07 20:09:45 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-07-08 03:10:27 (GMT) |
commit | 0dd3ad3841fba31312ab6e2c9ddbc453dd14f6a5 (patch) | |
tree | 6dde1efb74ce530e672dbe6180eb0709927ec297 | |
parent | ad6800fec32668e34d41321dcc73eda135ef0f84 (diff) | |
download | jemalloc-0dd3ad3841fba31312ab6e2c9ddbc453dd14f6a5.zip jemalloc-0dd3ad3841fba31312ab6e2c9ddbc453dd14f6a5.tar.gz jemalloc-0dd3ad3841fba31312ab6e2c9ddbc453dd14f6a5.tar.bz2 |
Fix an assignment type warning for tls_callback.
-rw-r--r-- | src/tsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,8 +151,8 @@ _tls_callback(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) # pragma section(".CRT$XLY",long,read) #endif JEMALLOC_SECTION(".CRT$XLY") JEMALLOC_ATTR(used) -static const BOOL (WINAPI *tls_callback)(HINSTANCE hinstDLL, - DWORD fdwReason, LPVOID lpvReserved) = _tls_callback; +static BOOL (WINAPI *const tls_callback)(HINSTANCE hinstDLL, + DWORD fdwRerason, LPVOID lpvReserved) = _tls_callback; #endif #if (!defined(JEMALLOC_MALLOC_THREAD_CLEANUP) && !defined(JEMALLOC_TLS) && \ |