]> git.pld-linux.org Git - packages/pound.git/blob - pound-hash-UL.patch
- up to 2.5
[packages/pound.git] / pound-hash-UL.patch
1 --- Pound-2.4.3/svc.c~  2008-12-11 00:13:10.000000000 +0200
2 +++ Pound-2.4.3/svc.c   2008-12-11 00:13:13.019321050 +0200
3 @@ -435,7 +435,7 @@
4      BACKEND         *res, *tb;
5      int             pri;
6  
7 -    hv = 2166136261;
8 +    hv = 2166136261UL;
9      while(*key)
10          hv = (hv ^ *key++) * 16777619;
11      pri = hv % abs_pri;
12 --- Pound-2.4.3/config.c~       2008-12-11 00:15:45.000000000 +0200
13 +++ Pound-2.4.3/config.c        2008-12-11 00:15:57.745970699 +0200
14 @@ -367,7 +367,7 @@
15      char            *k;
16  
17      k = e->key;
18 -    res = 2166136261;
19 +    res = 2166136261UL;
20      while(*k)
21          res = (res ^ *k++) * 16777619;
22      return res;
This page took 0.050226 seconds and 3 git commands to generate.