/in/foo.cc: In function 'int main()':
/in/foo.cc:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < s.size() - 1; ++i) {
~~^~~~~~~~~~~~~~
/in/foo.cc:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < szt; ++i) {
~~^~~~~
/in/foo.cc:34:33: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=]
else printf("0x%X", t[i]);
^
/in/foo.cc:36:5: error: expected ';' before '}' token
}
^
/in/foo.cc:38:31: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=]
else printf("0x%X", t[szt]);
^
/in/foo.cc:40:1: error: expected ';' before '}' token
}
^