diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-06-19 03:19:29 +0800 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-06-19 03:19:29 +0800 |
commit | 4782b29ec0cc429fafdc7da7df28cc5cf03a0069 (patch) | |
tree | 9f92a71e1beb6a22e3ea700726c2966d01d1af32 /net/gmdns | |
parent | 32d3dff3537e7abdc1756abb75200b9c1e38ce46 (diff) | |
download | freebsd-ports-gnome-4782b29ec0cc429fafdc7da7df28cc5cf03a0069.tar.gz freebsd-ports-gnome-4782b29ec0cc429fafdc7da7df28cc5cf03a0069.tar.zst freebsd-ports-gnome-4782b29ec0cc429fafdc7da7df28cc5cf03a0069.zip |
Fix build on 64-bit platforms.
Reported by: pointyhat via kris
Diffstat (limited to 'net/gmdns')
-rw-r--r-- | net/gmdns/files/patch-src_gmdns-txt.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/net/gmdns/files/patch-src_gmdns-txt.c b/net/gmdns/files/patch-src_gmdns-txt.c index 947e171f7fd2..8006992d6ad7 100644 --- a/net/gmdns/files/patch-src_gmdns-txt.c +++ b/net/gmdns/files/patch-src_gmdns-txt.c @@ -1,6 +1,18 @@ ---- src/gmdns-txt.c.orig Sun Jun 6 01:27:19 2004 -+++ src/gmdns-txt.c Sun Jun 6 01:29:38 2004 -@@ -106,6 +106,7 @@ +--- src/gmdns-txt.c.orig Fri Jun 4 13:19:40 2004 ++++ src/gmdns-txt.c Fri Jun 18 15:19:04 2004 +@@ -78,7 +78,11 @@ + } + + if (pairlen+i > len) { ++#if GLIB_SIZEOF_LONG == 4 + g_warning ("invalid record (pair claims to extend beyond the end of the record (%d + %d > len = %d))", pairlen, i, len); ++#else ++ g_warning ("invalid record (pair claims to extend beyond the end of the record (%d + %d > len = %ld))", pairlen, i, len); ++#endif + return hash; + } + +@@ -106,6 +110,7 @@ return hash; } |