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 d177e7f0a0..36d84ba48b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 26 21:36:01 2002 Usaku Nakamura <usa@ruby-lang.org>
+
+ * bignum.c (rb_big_2comp): void function cannot return any value.
+
Tue Feb 26 11:25:50 2002 akira yamada <akira@arika.org>
* lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is
diff --git a/bignum.c b/bignum.c
index 9fb347a188..1f99855d4e 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