From a4beb9173db8d170498c67182d30c107e5f9c138 Mon Sep 17 00:00:00 2001 From: randomuser Date: Wed, 7 Jul 2021 16:05:52 -0500 Subject: [PATCH] add unsigned prefix --- c/timer.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/c/timer.c b/c/timer.c index 2ab5ebc..3f19fd0 100644 --- a/c/timer.c +++ b/c/timer.c @@ -13,13 +13,13 @@ struct timer { }; struct settings { - int e:1; /* use escape (v assumed) */ - int v:1; /* verbose */ - int d:1; /* count down/up (1/0) */ - int b:1; /* ascii bel when done */ - int f:1; /* display hours */ - int t:1; /* tomato timer */ - int p:1; /* stop after tomato timer cycle finished */ + unsigned int e:1; /* use escape (v assumed) */ + unsigned int v:1; /* verbose */ + unsigned int d:1; /* count down/up (1/0) */ + unsigned int b:1; /* ascii bel when done */ + unsigned int f:1; /* display hours */ + unsigned int t:1; /* tomato timer */ + unsigned int p:1; /* stop after tomato timer cycle finished */ int s; /* seconds */ } s = { .e = 0,