From e8b4bcc9cb3d845d2d212c2554a1301befb1405e Mon Sep 17 00:00:00 2001 From: Lephe Date: Mon, 13 Jun 2022 21:36:52 +0100 Subject: [PATCH] tmu: fix delay truncation in subfunction call --- src/tmu/tmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmu/tmu.c b/src/tmu/tmu.c index b2d7990..579f02b 100644 --- a/src/tmu/tmu.c +++ b/src/tmu/tmu.c @@ -63,7 +63,7 @@ static void conf(int id, uint32_t delay, int clock, gint_call_t call) } /* matches(): Check if a timer matches the provided specification and delay */ -static int matches(int id, int spec, uint32_t delay) +static int matches(int id, int spec, uint64_t delay) { /* A specific idea only matches the exact timer */ if(spec >= 0) return id == (spec & 0xf);