diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-06-08 21:33:50 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-06-14 14:00:53 -0400 |
commit | b0524947e5a86bdbdd58dab42de3363a627e6910 (patch) | |
tree | 1187da49413ab45f0133372ce2778e19a34097c4 /src/basecmd.c | |
parent | fa85094cbb139c734150802b02e22913abcfccb3 (diff) | |
download | kutter-b0524947e5a86bdbdd58dab42de3363a627e6910.tar.gz kutter-b0524947e5a86bdbdd58dab42de3363a627e6910.tar.xz kutter-b0524947e5a86bdbdd58dab42de3363a627e6910.zip |
sched: Use uint_fast8_t for return type of timers
Some architectures are faster passing regular integers than 8bit
integers. Use uint_fast8_t so that the architecture chooses the
appropriate type.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/basecmd.c')
-rw-r--r-- | src/basecmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basecmd.c b/src/basecmd.c index ab31efc2..2c9562b6 100644 --- a/src/basecmd.c +++ b/src/basecmd.c @@ -156,7 +156,7 @@ DECL_COMMAND(command_finalize_config, "finalize_config crc=%u"); static struct timer group_timer; -static uint8_t +static uint_fast8_t group_end_event(struct timer *timer) { shutdown("Missed scheduling of next event"); |