summaryrefslogtreecommitdiff
path: root/debian/patches/large-integer-gcc43.dpatch
blob: 3aec6d7593c47a37691c29bf33deb7c44a560755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh /usr/share/dpatch/dpatch-run
## DP: Fix Debian bug #472812: "conntrack.c:302: error: large integer
## DP: implicitly truncated to unsigned type"

--- conntrack/src/conntrack.c
+++ conntrack/src/conntrack.c
@@ -299,7 +299,7 @@
 	    { CT_CREATE, ETIME, "conntrack has expired" },
 	    { EXP_CREATE, ENOENT, "master conntrack not found" },
 	    { EXP_CREATE, EINVAL, "invalid parameters" },
-	    { ~0UL, EPERM, "sorry, you must be root or get "
+	    { ~0U, EPERM, "sorry, you must be root or get "
 		    	   "CAP_NET_ADMIN capability to do this"}
 	  };