transfer.cpp: In function 'std::vector<int> get_attachment(std::vector<int>)':
transfer.cpp:6:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | for (int i = 0; i < source.size(); i++)
| ~~^~~~~~~~~~~~~~~
transfer.cpp: In function 'std::vector<int> retrieve(std::vector<int>)':
transfer.cpp:26:33: warning: operation on 'n' may be undefined [-Wsequence-point]
26 | int n = (data.size() > 255 ? n = 255 : n = 63);
| ~~^~~~~
transfer.cpp:36:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for (int i = n; i < data.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~