Fix build on amd64

PR:		ports/72957
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-10-26 18:51:06 +00:00
parent db755cbc1b
commit 1bc814b505
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120273

View file

@ -0,0 +1,14 @@
diff -ur work/mt-daapd-0.2.0/src/mDNSClientAPI.h work.orig/mt-daapd-0.2.0/src/mDNSClientAPI.h
--- src/mDNSClientAPI.h Thu Oct 21 09:52:05 2004
+++ src/mDNSClientAPI.h.orig Mon Mar 29 19:55:17 2004
@@ -486,8 +486,8 @@
typedef unsigned char mDNSu8;
typedef signed short mDNSs16;
typedef unsigned short mDNSu16;
+typedef signed int mDNSs32;
+typedef unsigned int mDNSu32;
-typedef signed long mDNSs32;
-typedef unsigned long 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