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
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

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