]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 20 Jul 2003 22:17:34 +0000 (22:17 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 20 Jul 2003 22:17:34 +0000 (22:17 +0000)
2003-07-20  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int.

ChangeLog
sysdeps/ia64/hp-timing.h

index c7730833f0941e5ec871208db610801eb1dea127..13ccee24163a3d2e0ba47d1a938a51d86527e59b 100644 (file)
--- 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
index fd920c348d7ee0ad0d81efde85f82051f3d54a96..a1ad8d39377678f5ec0c09483c834b3fc83a8532 100644 (file)
@@ -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) \