Index: misc/bdelta/files/patch-libbdelta.cpp =================================================================== --- misc/bdelta/files/patch-libbdelta.cpp (nonexistent) +++ misc/bdelta/files/patch-libbdelta.cpp (working copy) @@ -0,0 +1,13 @@ +--- libbdelta.cpp.orig 2003-07-20 02:15:37 UTC ++++ libbdelta.cpp +@@ -204,8 +204,8 @@ void findMatches(BDelta_Instance *b, Che + unsigned lastf1Place = place?place->obj->p1+place->obj->num:0; + int closestMatch=0; + for (int i = 1; i < numcheckMatches; ++i) +- if (abs(lastf1Place-h->hash_items[checkMatches[i]].loc) < +- abs(lastf1Place-h->hash_items[checkMatches[closestMatch]].loc)) ++ if (abs((int)(lastf1Place-h->hash_items[checkMatches[i]].loc)) < ++ abs((int)(lastf1Place-h->hash_items[checkMatches[closestMatch]].loc))) + closestMatch=i; + + unsigned p1 = h->hash_items[checkMatches[closestMatch]].loc, p2 = matchP2[closestMatch]; Property changes on: misc/bdelta/files/patch-libbdelta.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property