summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:26:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:26:49 +0000
commit588c9ede550b1eb8b31beb81be0fa1fdef98f471 (patch)
treebf9a798a8388ee1adb60253c804e12b55178b5cd /c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
parentadded prototype for delay. (diff)
downloadrtems-588c9ede550b1eb8b31beb81be0fa1fdef98f471.tar.bz2
added cast to eliminate warning
Diffstat (limited to 'c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c2
1 files changed, 1 insertions, 1 deletions
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;