summaryrefslogtreecommitdiffstats
path: root/utils/bin2c
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-01-16 19:28:13 -0700
committerGitHub <noreply@github.com>2020-01-16 19:28:13 -0700
commit6bdc89944780f0affcf5d1173a6dd8e6e33fb6bd (patch)
tree08b46a0c7675cc35662cc9e147dcd6c52ce47aca /utils/bin2c
parent093a6498e47f5d6d25563b6783a714672c23c0e8 (diff)
downloadbcm5719-ortega-6bdc89944780f0affcf5d1173a6dd8e6e33fb6bd.tar.gz
bcm5719-ortega-6bdc89944780f0affcf5d1173a6dd8e6e33fb6bd.zip
build: Add an Ubuntu 18.04 (x86_64) builder. (#12)
Diffstat (limited to 'utils/bin2c')
-rw-r--r--utils/bin2c/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/bin2c/main.cpp b/utils/bin2c/main.cpp
index 9d08894..c494421 100644
--- a/utils/bin2c/main.cpp
+++ b/utils/bin2c/main.cpp
@@ -146,7 +146,7 @@ int main(int argc, char const *argv[])
}
// Output a hex byte...
- outfile << "0x" << std::setw(2) << std::setfill('0') << std::hex << (int)byte << ",";
+ outfile << "0x" << std::setw(2) << std::setfill('0') << std::hex << (int)((uint8_t)byte) << ",";
count = (count + 1) % 8;
if (!count)
OpenPOWER on IntegriCloud