From 35ee867eb90e35aa1084c75dbaf224be80a6e226 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 2 Dec 2002 19:15:24 +0000 Subject: 2002-12-02 Joel Sherrill * include/rtems/posix/timer.h, src/keygetspecific.c, src/posixtimespecsubtract.c, src/ptimer1.c, src/semunlink.c: Added casts to eliminate warnings on 16-bit targets like the h8300. --- cpukit/posix/src/posixtimespecsubtract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix/src/posixtimespecsubtract.c') diff --git a/cpukit/posix/src/posixtimespecsubtract.c b/cpukit/posix/src/posixtimespecsubtract.c index 1b6cc75902..205730468a 100644 --- a/cpukit/posix/src/posixtimespecsubtract.c +++ b/cpukit/posix/src/posixtimespecsubtract.c @@ -31,7 +31,7 @@ void _POSIX_Timespec_subtract( { struct timespec start_struct = *the_start; struct timespec *start = &start_struct; - unsigned int nsecs_per_sec = TOD_NANOSECONDS_PER_SECOND; + unsigned32 nsecs_per_sec = TOD_NANOSECONDS_PER_SECOND; if (end->tv_nsec < start->tv_nsec) { int seconds = (start->tv_nsec - end->tv_nsec) / nsecs_per_sec + 1; -- cgit v1.2.3