diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-09 07:53:20 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-09 07:53:20 +0000 |
commit | f5ad120b9798d58d20e67dc458a5f5005482a1d8 (patch) | |
tree | 76c1ec9d309a7cf8c88c8e22319d6e427ef9a4ff /pack.c | |
parent | 837392b45260785a8ccc13aceba5be90e067a974 (diff) | |
download | ruby-f5ad120b9798d58d20e67dc458a5f5005482a1d8.tar.gz |
* bignum.c (rb_absint_numwords): Renamed from rb_absint_size_in_word.
* internal.h (rb_absint_numwords): Follow the above change.
* pack.c (pack_pack): Ditto.
* random.c (rand_init): Ditto.
(limited_big_rand): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r-- | pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1018,7 +1018,7 @@ pack_pack(VALUE ary, VALUE fmt) from = NEXTFROM; from = rb_to_int(from); - numbytes = rb_absint_size_in_word(from, 7, NULL); + numbytes = rb_absint_numwords(from, 7, NULL); if (numbytes == 0) numbytes = 1; buf = rb_str_new(NULL, numbytes); |