ports/devel/libopendaap/files/patch-mDNS-mDNSClientAPI.h
Kirill Ponomarev 309e12cc7f - Fix build on AMD64 and Alpha 5-x
Submitted by:	maintainer
Reported by:	bento via kris
2004-03-17 22:53:11 +00:00

13 lines
550 B
C

--- mDNS/mDNSClientAPI.h.orig Wed Mar 17 23:45:20 2004
+++ mDNS/mDNSClientAPI.h Wed Mar 17 23:45:36 2004
@@ -480,8 +480,8 @@
typedef unsigned char mDNSu8;
typedef signed short mDNSs16;
typedef unsigned short mDNSu16;
-typedef signed long mDNSs32;
-typedef unsigned long mDNSu32;
+typedef signed int mDNSs32;
+typedef unsigned int mDNSu32;
// To enforce useful type checking, we make mDNSInterfaceID be a pointer to a dummy struct
// This way, mDNSInterfaceIDs can be assigned, and compared with each other, but not with other types