summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-04-20 06:20:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-04-20 06:20:35 +0000
commit4dd5679cbbac110f741a16ad7ca49e985f9fae82 (patch)
tree3e1e182d71267d83d37a5d3cb2dd924997a956c3 /marshal.c
parent5a1e96b22aa6759bde56ff9667759b44e9f6fa28 (diff)
1.1b9_12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index d5cb1dc..1aadcfb 100644
--- a/marshal.c
+++ b/marshal.c
@@ -494,8 +494,9 @@ static long
r_long(arg)
struct load_arg *arg;
{
- int c = r_byte(arg), i;
register long x;
+ int c = (char)r_byte(arg);
+ int i;
if (c == 0) return 0;
if (c > 0) {