OSSP CVS Repository

ossp - Difference in ossp-pkg/act/act_hash_fct.c versions 1.23 and 1.24
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/act/act_hash_fct.c 1.23 -> 1.24

--- act_hash_fct.c       2001/03/17 10:39:34     1.23
+++ act_hash_fct.c       2001/03/17 10:52:27     1.24
@@ -676,10 +676,10 @@
     register act_uint8_t *key, 
     register act_size_t len)
 {
-    register act_uint32_t hash = 0x811c9dc5;
+    register act_uint32_t hash = 0x811c9dc5L;
 
     while (len-- > 0) {
-        hash *= 0x01000193;
+        hash *= 0x01000193L;
         hash ^= (act_uint32_t)(*key++);
     }
     return hash;

CVSTrac 2.0.1