monotone

View configure.ac.patch

1Index: src/utils/lib/tiger.c
2===================================================================
3RCS file: /cvsroot/mldonkey/mldonkey/src/utils/lib/tiger.c,v
4retrieving revision 1.7
5diff -u -w -r1.7 tiger.c
6--- src/utils/lib/tiger.c28 Aug 2005 10:47:39 -00001.7
7+++ src/utils/lib/tiger.c24 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 }
20Index: src/utils/lib/tiger.h
21===================================================================
22RCS file: /cvsroot/mldonkey/mldonkey/src/utils/lib/tiger.h,v
23retrieving revision 1.2
24diff -u -w -r1.2 tiger.h
25--- src/utils/lib/tiger.h28 Aug 2005 10:47:39 -00001.2
26+++ src/utils/lib/tiger.h24 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

Archive Download this file

Attachment to issue 27

Created: 18 years 8 months ago by Unknown User

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status