summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-03-24 23:16:05 +0100
committerMitya Selivanov <automainint@guattari.tech>2023-03-24 23:16:05 +0100
commitaeaa19dd2cb3005a721935fea25a2d73b3200d6f (patch)
treed98b362c7c6fb938067aff4b4b27f641ec1c3356 /source
parentffd92e70eaf8d6c1315e7ea442eee825b0a5289d (diff)
downloadkit-aeaa19dd2cb3005a721935fea25a2d73b3200d6f.zip
[win32] warning fix
Diffstat (limited to 'source')
-rw-r--r--source/kit/thread.win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/kit/thread.win32.c b/source/kit/thread.win32.c
index c17fc66..597d2fa 100644
--- a/source/kit/thread.win32.c
+++ b/source/kit/thread.win32.c
@@ -143,7 +143,7 @@ static void impl_tss_dtor_invoke(void) {
int i;
for (i = 0; i < EMULATED_THREADS_TSS_DTOR_SLOTNUM; i++) {
if (impl_tss_dtor_tbl[i].dtor) {
- void *val = tss_get(impl_tss_dtor_tbl[i].key);
+ void *val = (void *) tss_get(impl_tss_dtor_tbl[i].key);
if (val)
(impl_tss_dtor_tbl[i].dtor)(val);
}