]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sched: use shorter data type for timeout IDs
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 5 Nov 2015 12:14:57 +0000 (13:14 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 16 Nov 2015 09:26:14 +0000 (10:26 +0100)
sched.h

diff --git a/sched.h b/sched.h
index d51e1ae41376ffab449cb1655b5ac341af555f8b..6d297d30ec3f354f04802beb73cb8159c5a99bf7 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -30,7 +30,7 @@
 #include "sysincl.h"
 
 /* Type for timeout IDs, valid IDs are always greater than zero */
-typedef unsigned long SCH_TimeoutID;
+typedef unsigned int SCH_TimeoutID;
 
 typedef enum {
   SCH_ReservedTimeoutValue = 0,