From 588c9ede550b1eb8b31beb81be0fa1fdef98f471 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Apr 1997 21:26:49 +0000 Subject: added cast to eliminate warning --- c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c') diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c b/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c index 78b028dde3..2db6a17351 100644 --- a/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c +++ b/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c @@ -70,7 +70,7 @@ fast_idle_switch_hook(rtems_tcb *current_task, static rtems_unsigned32 fast_clock; /* init our params on first call */ - if (normal_clock == ~0) + if (normal_clock == (rtems_unsigned32) ~0) { normal_clock = CPU_HPPA_CLICKS_PER_TICK; fast_clock = CPU_HPPA_CLICKS_PER_TICK / 0x100; -- cgit v1.2.3