summaryrefslogtreecommitdiff
path: root/devel/libdispatch/files/patch-src_event_event.c
blob: 4ac4d8ec33ff10e59900d9e822fcb5044808b329 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/event/event.c.orig	2023-06-15 00:55:45 UTC
+++ src/event/event.c
@@ -792,7 +792,7 @@ _dispatch_timer_unote_disarm(dispatch_timer_source_ref
 _dispatch_timer_unote_disarm(dispatch_timer_source_refs_t dt,
 		dispatch_timer_heap_t dth)
 {
-	uint32_t tidx = dt->du_ident;
+	uint32_t tidx = (uint32_t)dt->du_ident;
 
 	dispatch_assert(_dispatch_unote_armed(dt));
 	_dispatch_timer_heap_remove(&dth[tidx], dt);