summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-16 01:02:23 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-16 01:02:23 +0000
commit8eb121d8122394c275ba8fb9583b4584639c932a (patch)
treea77eabd1721bdceae9483eec2742c8893830d013 /ext/bigdecimal/bigdecimal.h
parent56d3b926ce01e79388c0e8caa29448b24dd21e06 (diff)
* ext/bigdecimal/bigdecimal.h (llabs): never never never never never
use "long long". * ext/bigdecimal.bigdecimal.c (BigDecimal_to_i): get rid of a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal.h')
-rw-r--r--ext/bigdecimal/bigdecimal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/bigdecimal.h b/ext/bigdecimal/bigdecimal.h
index d77371f..06b9a85 100644
--- a/ext/bigdecimal/bigdecimal.h
+++ b/ext/bigdecimal/bigdecimal.h
@@ -33,8 +33,8 @@ labs(long const x)
#endif
#ifndef HAVE_LLABS
-static inline long long
-llabs(long long const x)
+static inline LONG_LONG
+llabs(LONG_LONG const x)
{
if (x < 0) return -x;
return x;