From b4c35121c4e62bcb0d774d56896a3e2868645faa Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 19 Mar 2012 15:09:58 -0700 Subject: Use int64_t in x86_64/fpu/math_private.h --- sysdeps/x86_64/fpu/math_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/x86_64') diff --git a/sysdeps/x86_64/fpu/math_private.h b/sysdeps/x86_64/fpu/math_private.h index 67c5f6a324..63a699e8fc 100644 --- a/sysdeps/x86_64/fpu/math_private.h +++ b/sysdeps/x86_64/fpu/math_private.h @@ -12,7 +12,7 @@ /* Direct movement of float into integer register. */ #define EXTRACT_WORDS64(i, d) \ do { \ - long int i_; \ + int64_t i_; \ asm (MOVD " %1, %0" : "=rm" (i_) : "x" ((double) (d))); \ (i) = i_; \ } while (0) @@ -20,7 +20,7 @@ /* And the reverse. */ #define INSERT_WORDS64(d, i) \ do { \ - long int i_ = i; \ + int64_t i_ = i; \ double d__; \ asm (MOVD " %1, %0" : "=x" (d__) : "rm" (i_)); \ d = d__; \ -- cgit v1.2.3