| 1 | Index: src/utils/lib/tiger.c␊ |
| 2 | ===================================================================␊ |
| 3 | RCS file: /cvsroot/mldonkey/mldonkey/src/utils/lib/tiger.c,v␊ |
| 4 | retrieving revision 1.7␊ |
| 5 | diff -u -w -r1.7 tiger.c␊ |
| 6 | --- src/utils/lib/tiger.c␉28 Aug 2005 10:47:39 -0000␉1.7␊ |
| 7 | +++ src/utils/lib/tiger.c␉24 Oct 2005 21:30:20 -0000␊ |
| 8 | @@ -827,9 +827,9 @@␊ |
| 9 | #include "caml/fail.h"␊ |
| 10 | #include "caml/alloc.h"␊ |
| 11 | ␊ |
| 12 | -long tiger_block_size(long len)␊ |
| 13 | +unsigned long tiger_block_size(unsigned long len)␊ |
| 14 | {␊ |
| 15 | - long block_size = BLOCK_SIZE;␊ |
| 16 | + unsigned long block_size = BLOCK_SIZE;␊ |
| 17 | while(block_size < len) block_size *= 2;␊ |
| 18 | return block_size;␊ |
| 19 | }␊ |
| 20 | Index: src/utils/lib/tiger.h␊ |
| 21 | ===================================================================␊ |
| 22 | RCS file: /cvsroot/mldonkey/mldonkey/src/utils/lib/tiger.h,v␊ |
| 23 | retrieving revision 1.2␊ |
| 24 | diff -u -w -r1.2 tiger.h␊ |
| 25 | --- src/utils/lib/tiger.h␉28 Aug 2005 10:47:39 -0000␉1.2␊ |
| 26 | +++ src/utils/lib/tiger.h␉24 Oct 2005 21:30:21 -0000␊ |
| 27 | @@ -31,5 +31,5 @@␊ |
| 28 | ␊ |
| 29 | ␊ |
| 30 | void tiger_hash(char prefix, char *s, long len, unsigned char *digest);␊ |
| 31 | -long tiger_block_size(long len);␊ |
| 32 | +unsigned long tiger_block_size(unsigned long len);␊ |
| 33 | #endif␊ |
