diff options
Diffstat (limited to 'lang/ruby19/files/patch-io.c')
-rw-r--r-- | lang/ruby19/files/patch-io.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/ruby19/files/patch-io.c b/lang/ruby19/files/patch-io.c index 8765d8119090..ede6b16da783 100644 --- a/lang/ruby19/files/patch-io.c +++ b/lang/ruby19/files/patch-io.c @@ -1,18 +1,18 @@ ---- io.c.orig 2007-12-28 02:17:32.000000000 +0300 -+++ io.c 2007-12-28 02:17:58.000000000 +0300 -@@ -5324,7 +5324,7 @@ +--- io.c.orig 2009-01-28 12:20:46.000000000 +0300 ++++ io.c 2009-02-09 19:18:58.000000000 +0300 +@@ -6685,7 +6685,7 @@ + } - #if !defined(MSDOS) && !defined(__human68k__) static int -io_cntl(int fd, int cmd, long narg, int io_p) +io_cntl(int fd, unsigned long cmd, long narg, int io_p) { int retval; -@@ -5352,7 +5352,7 @@ +@@ -6707,7 +6707,7 @@ + static VALUE rb_io_ctl(VALUE io, VALUE req, VALUE arg, int io_p) { - #if !defined(MSDOS) && !defined(__human68k__) - int cmd = NUM2ULONG(req); + unsigned long cmd = NUM2ULONG(req); rb_io_t *fptr; |