mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
dbfc1f7400
of sign-extension noises through console / kernel log on FreeBSD/amd64. PR: ports/94088 Submitted by: ariff
23 lines
508 B
C
23 lines
508 B
C
--- io.c.orig Thu Mar 2 22:15:47 2006
|
|
+++ io.c Thu Mar 2 22:16:58 2006
|
|
@@ -4682,8 +4682,9 @@
|
|
#if !defined(MSDOS) && !defined(__human68k__)
|
|
static int
|
|
io_cntl(fd, cmd, narg, io_p)
|
|
- int fd, cmd, io_p;
|
|
+ int fd, io_p;
|
|
long narg;
|
|
+ unsigned long cmd;
|
|
{
|
|
int retval;
|
|
|
|
@@ -4713,7 +4714,7 @@
|
|
int io_p;
|
|
{
|
|
#if !defined(MSDOS) && !defined(__human68k__)
|
|
- int cmd = NUM2ULONG(req);
|
|
+ unsigned long cmd = NUM2ULONG(req);
|
|
OpenFile *fptr;
|
|
long len = 0;
|
|
long narg = 0;
|