tmu: fix delay truncation in subfunction call

This commit is contained in:
Lephe 2022-06-13 21:36:52 +01:00
parent b17d4de4a8
commit e8b4bcc9cb
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 1 deletions

View File

@ -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);