/in/foo.cc: In function 'void work(int)':
/in/foo.cc:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < record.size(); ++i) {
~~^~~~~~~~~~~~~~~
/in/foo.cc:60:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(st != record.size()) {
~~~^~~~~~~~~~~~~~~~
/in/foo.cc:70:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(abs(nW - nL) >= 2 || ed == record.size()) {
~~~^~~~~~~~~~~~~~~~