mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
shell-test: fix REP for count larger than uint8_t (#10581)
This commit is contained in:
parent
324dc0dbc0
commit
d7274f2417
@ -76,8 +76,8 @@ int main(int argc, char **argv)
|
||||
fprintf(stderr, "Invalid count: %s\n", argv[2]);
|
||||
return 4;
|
||||
}
|
||||
for (uint8_t i = 0; i < count; i++) {
|
||||
printf("%d: %s\n", (int) i, argv[3]);
|
||||
for (int i = 0; i < count; i++) {
|
||||
printf("%d: %s\n", i, argv[3]);
|
||||
fflush(stdout);
|
||||
usleep(1000); // Wait 1 ms (simulate typical output).
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user