diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-07-20 22:17:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-07-20 22:17:34 +0000 |
commit | 66c79db954a8140593af322a9dc8a1a5f3ac421a (patch) | |
tree | a4bd6272188834fae14708b2450a6b374303a3b1 | |
parent | 3f56243af428c05ce6c17d639378d0c17702a61c (diff) | |
download | glibc-66c79db954a8140593af322a9dc8a1a5f3ac421a.tar.gz glibc-66c79db954a8140593af322a9dc8a1a5f3ac421a.tar.xz glibc-66c79db954a8140593af322a9dc8a1a5f3ac421a.zip |
Update.
2003-07-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/ia64/hp-timing.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index c7730833f0..13ccee2416 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-07-20 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int. + 2003-07-20 Andreas Jaeger <aj@suse.de> * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called diff --git a/sysdeps/ia64/hp-timing.h b/sysdeps/ia64/hp-timing.h index fd920c348d..a1ad8d3937 100644 --- a/sysdeps/ia64/hp-timing.h +++ b/sysdeps/ia64/hp-timing.h @@ -1,5 +1,5 @@ /* High precision, low overhead timing functions. IA-64 version. - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 2001. @@ -86,7 +86,7 @@ typedef unsigned long int hp_timing_t; is not correct in some situations. The solution is to read again. For now we always do this until we know how to recognize a fixed processor implementation. */ -#define REPEAT_READ(val) __builtin_expect ((int) val == -1, 0) +#define REPEAT_READ(val) __builtin_expect ((long int) val == -1, 0) /* That's quite simple. Use the `ar.itc' instruction. */ #define HP_TIMING_NOW(Var) \ |