diff options
| author | Evan Lojewski <github@meklort.com> | 2020-01-16 19:28:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-16 19:28:13 -0700 |
| commit | 6bdc89944780f0affcf5d1173a6dd8e6e33fb6bd (patch) | |
| tree | 08b46a0c7675cc35662cc9e147dcd6c52ce47aca /utils/bin2c | |
| parent | 093a6498e47f5d6d25563b6783a714672c23c0e8 (diff) | |
| download | bcm5719-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.cpp | 2 |
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) |

