opnsense-ports/misc/xdelta3/files/patch-testing_regtest.cc
Franco Fichtner 022392ad1a */*: sync with upstream
Taken from: FreeBSD
2016-02-16 02:41:07 +01:00

11 lines
431 B
C++

--- testing/regtest.cc.orig 2016-02-15 23:07:07 UTC
+++ testing/regtest.cc
@@ -1006,7 +1006,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);