core/tests: correct function type
commit25e3e7eba75131fd93f25e19dea0a4cac1457a5f
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 12 Jul 2021 22:49:04 +0000 (12 23:49 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 2 Jun 2022 14:18:38 +0000 (2 15:18 +0100)
tree8ee1d8809e33696a3015c99d0b7b4c3b43867065
parent4550deae29f52071f4d80ac3a7ca31435897ba96
core/tests: correct function type

thrd_create() takes a `int (*)(void *)` callback, while currently we're
giving it a `bool (*)(struct thread_arg *)`

Flip the bool to an int.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit 048809d5c1daf4e9c3a0347ecc19da1e202e9958)
src/waffle/core/wcore_error_unittest.c