summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-20 06:53:16 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-20 06:53:16 +0000
commite745f9b2702613441435594791cea8ddf0734774 (patch)
treebf175b005eadbd128b2ea7f93b37b5ee647dad20 /pack.c
parentbfdd14d50533d84af67008a6788d7093c844850a (diff)
Merge trivial changes to reduce diffs from ruby_1_8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pack.c b/pack.c
index d58792f..4ee3a90 100644
--- a/pack.c
+++ b/pack.c
@@ -1402,7 +1402,6 @@ pack_unpack(str, fmt)
s += len;
break;
-
case 'b':
{
VALUE bitstr;
@@ -1562,6 +1561,7 @@ pack_unpack(str, fmt)
}
PACK_ITEM_ADJUST();
break;
+
case 'L':
PACK_LENGTH_ADJUST(unsigned long,4);
while (len-- > 0) {
@@ -1582,7 +1582,8 @@ pack_unpack(str, fmt)
}
PACK_ITEM_ADJUST();
break;
- case 'Q':
+
+ case 'Q':
PACK_LENGTH_ADJUST_SIZE(QUAD_SIZE);
while (len-- > 0) {
char *tmp = (char*)s;