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 };
                                               ^~

Details

Provenance
pkubajAuthored on Jan 10 2023, 12:44 AM
Parents
R11:c6a8b4ea40e0: biology/hyphy: Update to upstream tag 2.5.46hf1
Branches
Unknown
Tags
Unknown