summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
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 d5cb1dc68a..1aadcfb4e0 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) {