diff options
| author | 2026-04-05 06:10:51 +1000 | |
|---|---|---|
| committer | 2026-04-05 06:10:51 +1000 | |
| commit | 551c10eba468ad6e5be3200a1bd246fa9731de16 (patch) | |
| tree | a38c40807f1dfd55b598415c1a437e81aff325f9 /src/tools | |
| parent | c6cdeb1e4af49e3e7c4bc41f761e0e956097ee82 (diff) | |
Move build system adjusttment and fixes:
* Bumped minimum clang version to 13 - clang 12 is just too buggy.
* Assume Qt 6 will be used, dropped Qt 5 support.
* Fixed finding Qt headers on Fedora and hopefully other distros.
* Always use static SDL2 on Windows.
* debugger/qt/debuggerview.cpp: Fixed build with Qt < 6.6.
* imgtool/modules/vzdos.cpp: Fixed build with Linux GCC 11.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/imgtool/modules/vzdos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/imgtool/modules/vzdos.cpp b/src/tools/imgtool/modules/vzdos.cpp index b7dee751434..b9cdc7160d8 100644 --- a/src/tools/imgtool/modules/vzdos.cpp +++ b/src/tools/imgtool/modules/vzdos.cpp @@ -132,7 +132,7 @@ static imgtoolerr_t vzdos_read_sector_data(imgtool::image &img, int track, int s if (ret) return (imgtoolerr_t)ret; /* verify sector checksums */ - if (get_u16le(&buffer[DATA_SIZE + 2]) != util::sum16_creator::simple(buffer, DATA_SIZE + 2)) + if (get_u16le(&buffer[DATA_SIZE + 2]) != uint16_t(util::sum16_creator::simple(buffer, DATA_SIZE + 2))) return IMGTOOLERR_CORRUPTFILE; memcpy(data, &buffer, DATA_SIZE + 2); |
