Created attachment 169640 [details]
Fix type for abs() calls in misc/bdelta
During the exp-run in bug 208158, it was found that misc/bdeltra gives errors with libc++ 3.8.0 :
libbdelta.cpp:207:13: error: call to 'abs' is ambiguous
if (abs(lastf1Place-h->hash_items[checkMatches[i]].loc) <
This is because abs() is being called with unsigned arguments. Fix this by casting the arguments to the appropriate signed type.
I think this patch is superseded by this update: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209063. At least I don't see a similar code in the newer version.
Yep, it's now building without that patch. Thanks.