[test] Fix printf format specifier for size_t.

Suppress compiler warnings.
This commit is contained in:
Suresh Sundriyal 2017-10-18 12:52:49 -07:00
parent 7d0ff6dd26
commit fb41673532

View File

@ -91,7 +91,7 @@ int main(int argc, char *argv[])
if (lexer.split(sresult, map<string, string>())) {
printf("split:\n");
for (size_t lpc = 0; lpc < sresult.size(); lpc++) {
printf(" %d -- %s\n", lpc, sresult[lpc].c_str());
printf(" %zu -- %s\n", lpc, sresult[lpc].c_str());
}
}