summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-13 20:09:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-13 20:09:09 +0000
commit27b8a31b4c71205e9e4887785b84a2ea416b851d (patch)
tree5c3526e7fe07a1178cafed7bc6734cc0ab86ef03
parent2a3a5d7a7c106e4acfc4971cc5a5fc29d2d999d8 (diff)
* bignum.c (big2ulong, big2ull): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--bignum.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0fe750c882..60a3fb887f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jul 14 05:09:06 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * bignum.c (big2ulong, big2ull): constified.
+
Sun Jul 13 06:57:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/pty/pty.c (raise_from_wait, pty_syswait, get_device_once):
diff --git a/bignum.c b/bignum.c
index be287032ce..074d09ce38 100644
--- a/bignum.c
+++ b/bignum.c
@@ -791,7 +791,7 @@ rb_big_to_s(argc, argv, x)
static unsigned long
big2ulong(x, type)
VALUE x;
- char *type;
+ const char *type;
{
long len = RBIGNUM(x)->len;
BDIGIT_DBL num;
@@ -852,7 +852,7 @@ rb_big2long(x)
static unsigned LONG_LONG
big2ull(x, type)
VALUE x;
- char *type;
+ const char *type;
{
long len = RBIGNUM(x)->len;
BDIGIT_DBL num;