summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-09 07:53:20 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-09 07:53:20 (GMT)
commitf5ad120b9798d58d20e67dc458a5f5005482a1d8 (patch)
tree76c1ec9d309a7cf8c88c8e22319d6e427ef9a4ff /pack.c
parent837392b45260785a8ccc13aceba5be90e067a974 (diff)
* 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 67ee20d..b5545f7 100644
--- a/pack.c
+++ b/pack.c
@@ -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);