Parent Directory | Revision Log | Patch
revision 1.3 by spiralvoice, Mon Aug 1 23:53:55 2005 UTC | revision 1.4 by spiralvoice, Sat Dec 10 19:44:28 2005 UTC | |
---|---|---|
# | Line 181 static unsigned int fst_hash_small (unsi | Line 181 static unsigned int fst_hash_small (unsi |
181 | #include "caml/mlvalues.h" | #include "caml/mlvalues.h" |
182 | ||
183 | /* returns checksum of fzhash */ | /* returns checksum of fzhash */ |
184 | uint16 fst_hash_checksum (unsigned char *hash) | unsigned short fst_hash_checksum (unsigned char *hash) |
185 | { | { |
186 | uint16 sum = 0; | unsigned short sum = 0; |
187 | int i; | int i; |
188 | ||
189 | /* calculate 2 byte checksum used in the URL from 20 byte fthash */ | /* calculate 2 byte checksum used in the URL from 20 byte fthash */ |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |