summaryrefslogtreecommitdiff
path: root/deps/uber-graph/uber-timeout-interval.c
diff options
context:
space:
mode:
authorbigbear <ns@bigbear.dk>2024-02-08 02:46:56 +0100
committerbigbear <ns@bigbear.dk>2024-02-08 19:52:53 +0100
commit2c5076cc7ad141d8246626ab1a82e65f1c126d59 (patch)
treea60afef0597c74964a2399c4c71a9caa5207ef34 /deps/uber-graph/uber-timeout-interval.c
parenteefbdc82d4f8c67f3e89782e6253da262edcf9c5 (diff)
FIX CodeQL warnings
Diffstat (limited to 'deps/uber-graph/uber-timeout-interval.c')
-rw-r--r--deps/uber-graph/uber-timeout-interval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/uber-graph/uber-timeout-interval.c b/deps/uber-graph/uber-timeout-interval.c
index 79b55947..4a4cf52a 100644
--- a/deps/uber-graph/uber-timeout-interval.c
+++ b/deps/uber-graph/uber-timeout-interval.c
@@ -131,8 +131,8 @@ _uber_timeout_interval_compare_expiration (const UberTimeoutInterval *a,
b_difference = a->start_time - b->start_time;
- comparison = ((gint) ((a->frame_count + 1) * a_delay)
- - (gint) ((b->frame_count + 1) * b_delay + b_difference));
+ comparison = ((gint) (((gint64)a->frame_count + 1) * a_delay)
+ - (gint) (((gint64)b->frame_count + 1) * b_delay + b_difference));
return (comparison < 0 ? -1
: comparison > 0 ? 1