summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-03-24 23:22:43 +0100
committerMitya Selivanov <automainint@guattari.tech>2023-03-24 23:22:43 +0100
commitf92b1c96dcf69f9e5a490bc87874666c6b7c2bfb (patch)
tree742e2728e33c8ce48cc10bd84398bec35f3d77a5 /source
parent81d0427f1f65701e63a6a341b1c7d9e6eaefe23f (diff)
downloadkit-f92b1c96dcf69f9e5a490bc87874666c6b7c2bfb.zip
[win32] warning fix
Diffstat (limited to 'source')
-rw-r--r--source/kit/thread.win32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/kit/thread.win32.c b/source/kit/thread.win32.c
index 7adcb4a..f8542f7 100644
--- a/source/kit/thread.win32.c
+++ b/source/kit/thread.win32.c
@@ -143,8 +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 = (void *) (uint64_t) tss_get(
- impl_tss_dtor_tbl[i].key);
+ void *val = (void *) (size_t) tss_get(impl_tss_dtor_tbl[i].key);
if (val)
(impl_tss_dtor_tbl[i].dtor)(val);
}