1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:37:44 +00:00

Shell: Use correct printf format string for size_t

This commit is contained in:
Daniel Bertalan 2021-07-05 22:24:51 +02:00 committed by Gunnar Beutner
parent 714bd011e1
commit e32692ea68

View file

@ -268,7 +268,7 @@ int Shell::builtin_cdh(int argc, const char** argv)
} }
for (ssize_t i = cd_history.size() - 1; i >= 0; --i) for (ssize_t i = cd_history.size() - 1; i >= 0; --i)
printf("%lu: %s\n", cd_history.size() - i, cd_history.at(i).characters()); printf("%zu: %s\n", cd_history.size() - i, cd_history.at(i).characters());
return 0; return 0;
} }