diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-10-27 10:42:28 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-10-27 10:42:28 +0100 |
commit | 251aa918da9bea6fcf5ba916df8b616b130e8ada (patch) | |
tree | a27c952ffd0de480d6f74732ffcfd5051d345ec2 /openbsc/include/openbsc/timer.h | |
parent | 100fe569304a39fe02ce7744dc7478a6a7b5d2cc (diff) |
misc: Make bitfields unsigned int...
There is no use to have a signed bit in bitfields..
Diffstat (limited to 'openbsc/include/openbsc/timer.h')
-rw-r--r-- | openbsc/include/openbsc/timer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/timer.h b/openbsc/include/openbsc/timer.h index a1ad92cfc..fee888bfd 100644 --- a/openbsc/include/openbsc/timer.h +++ b/openbsc/include/openbsc/timer.h @@ -44,9 +44,9 @@ struct timer_list { struct llist_head entry; struct timeval timeout; - int active : 1; - int handled : 1; - int in_list : 1; + unsigned int active : 1; + unsigned int handled : 1; + unsigned int in_list : 1; void (*cb)(void*); void *data; |