diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-13 20:09:09 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-13 20:09:09 +0000 |
| commit | 27b8a31b4c71205e9e4887785b84a2ea416b851d (patch) | |
| tree | 5c3526e7fe07a1178cafed7bc6734cc0ab86ef03 | |
| parent | 2a3a5d7a7c106e4acfc4971cc5a5fc29d2d999d8 (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-- | ChangeLog | 4 | ||||
| -rw-r--r-- | bignum.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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): @@ -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; |
