diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-03-24 23:21:53 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-03-24 23:21:53 +0100 |
commit | 81d0427f1f65701e63a6a341b1c7d9e6eaefe23f (patch) | |
tree | 21a75fc7ec3e00c692fd15d6ccb4b52a72557eae /source | |
parent | aeaa19dd2cb3005a721935fea25a2d73b3200d6f (diff) | |
download | kit-81d0427f1f65701e63a6a341b1c7d9e6eaefe23f.zip |
[win32] warning fix
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/thread.win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/kit/thread.win32.c b/source/kit/thread.win32.c index 597d2fa..7adcb4a 100644 --- a/source/kit/thread.win32.c +++ b/source/kit/thread.win32.c @@ -143,7 +143,8 @@ 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 = (void *) tss_get(impl_tss_dtor_tbl[i].key); + void *val = (void *) (uint64_t) tss_get( + impl_tss_dtor_tbl[i].key); if (val) (impl_tss_dtor_tbl[i].dtor)(val); } |