summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-29 16:26:51 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-29 16:26:51 +0000
commit56dccab73e3ed71ea203285994a2594105608016 (patch)
treebffd253762570bc258a6ee9142bea237a87d9752
parente602d5707018d519e6ab61b2601cfd8d0bd38d2e (diff)
downloadruby-56dccab73e3ed71ea203285994a2594105608016.tar.gz
ruby-56dccab73e3ed71ea203285994a2594105608016.tar.xz
ruby-56dccab73e3ed71ea203285994a2594105608016.zip
merged r20020 from trunk into ruby_1_9_1.
* complex.c (imp1, imp2): should declare type. [BUG] at IA-64 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20041 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 712270809..e97b238d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,11 @@ Wed Oct 29 20:45:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
test/webrick/test_server.rb, test/webrick/test_filehandler.rb: use
webrick log as an assertion message.
+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);\
}