diff options
Diffstat (limited to 'kernel/posix-timers.c')
-rw-r--r-- | kernel/posix-timers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c index 7a15afb73ed0..57efe0400bc2 100644 --- a/kernel/posix-timers.c +++ b/kernel/posix-timers.c | |||
@@ -712,7 +712,7 @@ sys_timer_getoverrun(timer_t timer_id) | |||
712 | { | 712 | { |
713 | struct k_itimer *timr; | 713 | struct k_itimer *timr; |
714 | int overrun; | 714 | int overrun; |
715 | long flags; | 715 | unsigned long flags; |
716 | 716 | ||
717 | timr = lock_timer(timer_id, &flags); | 717 | timr = lock_timer(timer_id, &flags); |
718 | if (!timr) | 718 | if (!timr) |
@@ -784,7 +784,7 @@ sys_timer_settime(timer_t timer_id, int flags, | |||
784 | struct k_itimer *timr; | 784 | struct k_itimer *timr; |
785 | struct itimerspec new_spec, old_spec; | 785 | struct itimerspec new_spec, old_spec; |
786 | int error = 0; | 786 | int error = 0; |
787 | long flag; | 787 | unsigned long flag; |
788 | struct itimerspec *rtn = old_setting ? &old_spec : NULL; | 788 | struct itimerspec *rtn = old_setting ? &old_spec : NULL; |
789 | 789 | ||
790 | if (!new_setting) | 790 | if (!new_setting) |
@@ -836,7 +836,7 @@ asmlinkage long | |||
836 | sys_timer_delete(timer_t timer_id) | 836 | sys_timer_delete(timer_t timer_id) |
837 | { | 837 | { |
838 | struct k_itimer *timer; | 838 | struct k_itimer *timer; |
839 | long flags; | 839 | unsigned long flags; |
840 | 840 | ||
841 | retry_delete: | 841 | retry_delete: |
842 | timer = lock_timer(timer_id, &flags); | 842 | timer = lock_timer(timer_id, &flags); |