transfer.cpp: In function 'std::vector<int> get_attachment(std::vector<int>)':
transfer.cpp:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<source.size();i++)
~^~~~~~~~~~~~~~
transfer.cpp: In function 'std::vector<int> retrieve(std::vector<int>)':
transfer.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<info.size();i++)
~^~~~~~~~~~~~
transfer.cpp:52:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = (data.size()-(BITCnt+1));i<data.size()-1;i++) expectedVal2 += (data[i]<<(i-(data.size()-(BITCnt+1))));
~^~~~~~~~~~~~~~
transfer.cpp:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<info.size();i++)
~^~~~~~~~~~~~
transfer.cpp:64:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^