mirror of
https://github.com/tstack/lnav
synced 2024-11-01 21:40:34 +00:00
[test] Fix printf format specifier for size_t.
Suppress compiler warnings.
This commit is contained in:
parent
7d0ff6dd26
commit
fb41673532
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user