HomeFreeBSD

net-p2p/xbt: fix build on ARM / POWER

Description

net-p2p/xbt: fix build on ARM / POWER

Tracker/tracker_input.cpp:6:49: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]

std::array<char, 16> res = { 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0 };
                                               ^~

(cherry picked from commit 735a7f11b1c53e58d7ab011b274724a84a8e5e15)

Details

Provenance
pkubajAuthored on Jan 10 2023, 12:44 AM
Parents
R11:695413523ff8: www/firefox-esr: update to 102.7.0 (rc1)
Branches
Unknown
Tags
Unknown