SOURCES: pound-hash-UL.patch (NEW) - fix some compiler warnings: svc.c:43...
glen
glen at pld-linux.org
Wed Dec 10 23:58:22 CET 2008
Author: glen Date: Wed Dec 10 22:58:22 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix some compiler warnings:
svc.c:438: warning: this decimal constant is unsigned only in ISO C90
---- Files affected:
SOURCES:
pound-hash-UL.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/pound-hash-UL.patch
diff -u /dev/null SOURCES/pound-hash-UL.patch:1.1
--- /dev/null Wed Dec 10 23:58:23 2008
+++ SOURCES/pound-hash-UL.patch Wed Dec 10 23:58:17 2008
@@ -0,0 +1,22 @@
+--- Pound-2.4.3/svc.c~ 2008-12-11 00:13:10.000000000 +0200
++++ Pound-2.4.3/svc.c 2008-12-11 00:13:13.019321050 +0200
+@@ -435,7 +435,7 @@
+ BACKEND *res, *tb;
+ int pri;
+
+- hv = 2166136261;
++ hv = 2166136261UL;
+ while(*key)
+ hv = (hv ^ *key++) * 16777619;
+ pri = hv % abs_pri;
+--- Pound-2.4.3/config.c~ 2008-12-11 00:15:45.000000000 +0200
++++ Pound-2.4.3/config.c 2008-12-11 00:15:57.745970699 +0200
+@@ -367,7 +367,7 @@
+ char *k;
+
+ k = e->key;
+- res = 2166136261;
++ res = 2166136261UL;
+ while(*k)
+ res = (res ^ *k++) * 16777619;
+ return res;
================================================================
More information about the pld-cvs-commit
mailing list