1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/audio/gsi/files/patch-lib::gsif::io.c
Pete Fritchman 444e04c436 Fix build on sparc64.
Reported by:	bento
Tested on:	panther
2004-01-11 04:31:59 +00:00

14 lines
290 B
C

$FreeBSD$
--- lib/gsif/io.c.orig Sat Jan 10 22:22:35 2004
+++ lib/gsif/io.c Sat Jan 10 22:21:32 2004
@@ -80,7 +80,7 @@
fint = gsif_swap_int16(i);
status = write (fd, &fint, 2);
#else
- fint = val;
+ fint = i;
status = write (fd, &fint, 2);
#endif
if (status != 2) (*s) = status;