1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/xmmix/files/patch-mixer.c
Eitan Adler 2c947299d7 - Fix build with clang (void main - really?)
- Fix functioning on 64 bit systems

PR:		ports/160667
Submitted by:	Martin Etteldorf <etteldor@gmail.com>
2012-01-07 05:33:05 +00:00

12 lines
297 B
C

--- ./mixer.c.orig 1996-11-07 11:00:26.000000000 -0500
+++ ./mixer.c 2012-01-07 00:24:32.000000000 -0500
@@ -124,7 +124,7 @@
* Nothing
*/
STATIC void
-do_ioctl(int cmd, int *arg, char *name, int dir)
+do_ioctl(long cmd, int *arg, char *name, int dir)
{
int ret;
char errmsg[STR_BUF_SZ];