[packages/xdelta3: 1/2] - compilation fix found somewhere on the net

witekfl witekfl at pld-linux.org
Sat Jan 25 17:25:37 CET 2014


commit efb4aa6e6b2f2420b639170c479086d874a47166
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Jan 25 17:23:52 2014 +0100

    - compilation fix found somewhere on the net

 patch-testing-regtest.cc.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/patch-testing-regtest.cc.patch b/patch-testing-regtest.cc.patch
new file mode 100644
index 0000000..355a1a4
--- /dev/null
+++ b/patch-testing-regtest.cc.patch
@@ -0,0 +1,11 @@
+--- xdelta3-3.0.8/testing/regtest.cc.orig	2014-01-25 17:09:23.652283110 +0100
++++ xdelta3-3.0.8/testing/regtest.cc	2014-01-25 17:11:03.545076640 +0100
+@@ -761,7 +761,7 @@ void FourWayMergeTest(const FileSpec &sp
+   ExtFile d01, d12, d23;
+   Options options;
+   options.encode_srcwin_maxsz = 
+-    std::max(spec0.Size(), options.encode_srcwin_maxsz);
++    std::max((unsigned long long)spec0.Size(), (unsigned long long)options.encode_srcwin_maxsz);
+ 
+   spec0.WriteTmpFile(&f0);
+   spec1.WriteTmpFile(&f1);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xdelta3.git/commitdiff/1bdf179af9fc1f4c82503e749b063423a8c7986f



More information about the pld-cvs-commit mailing list