summaryrefslogtreecommitdiff
path: root/bignum.c
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 /bignum.c
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
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c4
1 files changed, 2 insertions, 2 deletions
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;