mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
ffe7a61239
PR: ports/129818 (based on) Submitted by: Hung-Yi Chen <gaod@hychen.org>
21 lines
483 B
C
21 lines
483 B
C
--- 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 @@
|
|
}
|
|
|
|
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;
|
|
|
|
@@ -6707,7 +6707,7 @@
|
|
static VALUE
|
|
rb_io_ctl(VALUE io, VALUE req, VALUE arg, int io_p)
|
|
{
|
|
- int cmd = NUM2ULONG(req);
|
|
+ unsigned long cmd = NUM2ULONG(req);
|
|
rb_io_t *fptr;
|
|
long len = 0;
|
|
long narg = 0;
|