summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 7e8310a714..b187bfec31 100644
--- a/io.c
+++ b/io.c
@@ -160,7 +160,7 @@ io_write(io, str)
#ifdef __human68k__
{
register UCHAR *ptr = RSTRING(str)->ptr;
- n = (int) RSTRING(str)->len;
+ n = (int)RSTRING(str)->len;
while (--n >= 0)
if (fputc(*ptr++, f) == EOF)
rb_sys_fail(fptr->path);
@@ -809,7 +809,7 @@ io_binmode(io)
#ifdef __human68k__
if (fptr->f)
fmode(fptr->f, _IOBIN);
- if (fptr->f2);
+ if (fptr->f2)
fmode(fptr->f2, _IOBIN);
#else
if (fptr->f && setmode(fileno(fptr->f), O_BINARY) == -1)