summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 6627bf7d27..703666ce62 100644
--- a/io.c
+++ b/io.c
@@ -1651,7 +1651,7 @@ io_writev(int argc, VALUE *argv, VALUE io)
n = io_fwrite(argv[i], fptr, (i < argc-1));
#endif
if (n == -1L) rb_sys_fail_path(fptr->pathv);
- total = rb_fix_plus_fix(LONG2FIX(n), total);
+ total = rb_fix_plus(LONG2FIX(n), total);
}
return total;