summaryrefslogtreecommitdiff
path: root/Userland/Shell/Builtin.cpp
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-07-05 22:24:51 +0200
committerGunnar Beutner <gunnar@beutner.name>2021-07-08 10:11:00 +0200
commite32692ea687f3fec4f78efe0711898c051eb36db (patch)
tree21a479afd02c83ce56ffcbf8834183a209a5ccf2 /Userland/Shell/Builtin.cpp
parent714bd011e1c9da18dc1ea29db78589d20da29a2e (diff)
downloadserenity-e32692ea687f3fec4f78efe0711898c051eb36db.zip
Shell: Use correct printf format string for `size_t`
Diffstat (limited to 'Userland/Shell/Builtin.cpp')
-rw-r--r--Userland/Shell/Builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Shell/Builtin.cpp b/Userland/Shell/Builtin.cpp
index 60e499e43c..617adb9498 100644
--- a/Userland/Shell/Builtin.cpp
+++ b/Userland/Shell/Builtin.cpp
@@ -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;
}