]> git.pld-linux.org Git - packages/filtergen.git/blobdiff - filter-types.patch
- type fix for alpha
[packages/filtergen.git] / filter-types.patch
diff --git a/filter-types.patch b/filter-types.patch
new file mode 100644 (file)
index 0000000..2e113d3
--- /dev/null
@@ -0,0 +1,11 @@
+--- filter-0.9/filter.c.orig   Wed Aug 21 00:54:38 2002
++++ filter-0.9/filter.c        Thu Sep  5 09:42:39 2002
+@@ -126,7 +126,7 @@
+               *mask++ = 0;
+               if(!str_to_int(mask, &i)) {
+                       /* Netmask like foo/24 */
+-                      uint32_t l = ~(0UL);
++                      uint32_t l = (uint32_t)~(0UL);
+                       if(i < 0 || i > 32) {
+                               fprintf(stderr, "can't parse netmask \"%s\"\n",
+                                               mask);
This page took 0.06043 seconds and 4 git commands to generate.