summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--bignum.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f9f5656bf..9559e205d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 26 21:34:07 2002 Usaku Nakamura <usa@ruby-lang.org>
+
+ * bignum.c (rb_big_2comp): void function cannot return any value.
+
Tue Feb 26 15:41:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): call trace_func for if/while conditions.
diff --git a/bignum.c b/bignum.c
index d778406487..fb3afdc3c0 100644
--- a/bignum.c
+++ b/bignum.c
@@ -101,7 +101,7 @@ void
rb_big_2comp(x) /* get 2's complement */
VALUE x;
{
- return get2comp(x, Qtrue);
+ get2comp(x, Qtrue);
}
static VALUE