ports/lang/gcl/files/patch-o__nsocket.c
Vanilla I. Shu 89ce9f982c Update to version 2.6.11.
PR:		ports/193898
Submitted by:	Ports Fury
2014-09-26 03:33:04 +00:00

11 lines
262 B
C

--- o/nsocket.c.orig
+++ o/nsocket.c
@@ -328,7 +328,7 @@
-#define SOCKET_FD(strm) ((strm)->sm.sm_fp ? fileno((strm)->sm.sm_fp) : -1)
+#define SOCKET_FD(strm) ((strm)->sm.sm_fp ? fileno((FILE *)(strm)->sm.sm_fp) : -1)
static void
check_socket(object x)