mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Shell: Use correct printf format string for size_t
This commit is contained in:
parent
714bd011e1
commit
e32692ea68
Notes:
sideshowbarker
2024-07-18 10:06:04 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/e32692ea687 Pull-request: https://github.com/SerenityOS/serenity/pull/8470 Reviewed-by: https://github.com/Dexesttp Reviewed-by: https://github.com/Hendiadyoin1 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/gunnarbeutner ✅
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ int Shell::builtin_cdh(int argc, const char** argv)
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue