Upstream-Status: Submitted [https://github.com/nmap/nmap/pull/2732] --- MACLookup.cc +++ MACLookup.cc @@ -158,7 +158,7 @@ static void mac_prefix_init() { std::pair status = MacTable.insert(std::pair(pfx, string_pool_substr(vendor, endptr))); if (!status.second && o.debugging > 1) - error("MAC prefix %0*lX is duplicated in %s; ignoring duplicates.", (int)(pfx >> 36), pfx & 0xfffffffffL, filename); + error("MAC prefix %0*" PRIX64 " is duplicated in %s; ignoring duplicates.", (int)(pfx >> 36), pfx & 0xfffffffffL, filename); } fclose(fp);