summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-29 06:45:26 +0000
committertakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-29 06:45:26 +0000
commit5ece0480f77c0c057b44de4afd04cfa3d477ac44 (patch)
tree81c8032aa16f90189be8adb2832c1cdc475fc540
parentea1f71b81f7e0c6f958abb50da6ade0da64cd718 (diff)
downloadruby-5ece0480f77c0c057b44de4afd04cfa3d477ac44.tar.gz
ruby-5ece0480f77c0c057b44de4afd04cfa3d477ac44.tar.xz
ruby-5ece0480f77c0c057b44de4afd04cfa3d477ac44.zip
* complex.c (imp1, imp2): should declare type.
[BUG] at IA-64 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--complex.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ff267517f..4c3f022ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Oct 29 15:50:00 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
+
+ * complex.c (imp1, imp2): should declare type.
+ [BUG] at IA-64
+
Wed Oct 29 14:36:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (revision.h): have to be updated daily or by non-trivial
diff --git a/complex.c b/complex.c
index b4ac3e95e..95a278e3a 100644
--- a/complex.c
+++ b/complex.c
@@ -429,7 +429,7 @@ nucomp_f_complex(int argc, VALUE *argv, VALUE klass)
#define imp1(n) \
extern VALUE rb_math_##n(VALUE x);\
inline static VALUE \
-m_##n##_bang(x)\
+m_##n##_bang(VALUE x)\
{\
return rb_math_##n(x);\
}
@@ -437,7 +437,7 @@ m_##n##_bang(x)\
#define imp2(n) \
extern VALUE rb_math_##n(VALUE x, VALUE y);\
inline static VALUE \
-m_##n##_bang(x, y)\
+m_##n##_bang(VALUE x, VALUE y)\
{\
return rb_math_##n(x, y);\
}