I noticed that CodeQL is flagging following:
main/build/_deps/picotool-src/main.cpp:2876
This format specifier for type 'int' does not match the argument type 'unsigned long'.
This format specifier for type 'int' does not match the argument type 'unsigned long'.
main/build/_deps/picotool-src/main.cpp:5267
This format specifier for type 'int' does not match the argument type 'fpos<__mbstate_t>'.
main/build/_deps/picotool-src/main.cpp:5365
This format specifier for type 'int' does not match the argument type 'fpos<__mbstate_t>'.
main/build/_deps/picotool-src/main.cpp:6565
This format specifier for type 'int' does not match the argument type 'unsigned long'.
Proposed fix: #274