From be25d3006949b02b64e75982fbc825eb62a8817c Mon Sep 17 00:00:00 2001 From: Kied Llaentenn <32681240+Kiedtl@users.noreply.github.com> Date: Fri, 13 Dec 2019 09:39:23 -0500 Subject: [PATCH] fixed embarrasing bug: usize will never be below 0! --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index e028c11..c2d4281 100644 --- a/main.c +++ b/main.c @@ -56,7 +56,7 @@ main ( int argc, char *argv[] ) tb_present(); // event handling - usize err = (usize) tb_peek_event(&e, 5); + int err = (usize) tb_peek_event(&e, 5); if (err < 0) continue;