summaryrefslogtreecommitdiff
path: root/Userland/Utilities/truncate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/truncate.cpp')
-rw-r--r--Userland/Utilities/truncate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Utilities/truncate.cpp b/Userland/Utilities/truncate.cpp
index 4f7b1442ad..25ef85974a 100644
--- a/Userland/Utilities/truncate.cpp
+++ b/Userland/Utilities/truncate.cpp
@@ -22,9 +22,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
{
TRY(Core::System::pledge("stdio rpath wpath cpath"));
- const char* resize = nullptr;
- const char* reference = nullptr;
- const char* file = nullptr;
+ char const* resize = nullptr;
+ char const* reference = nullptr;
+ char const* file = nullptr;
Core::ArgsParser args_parser;
args_parser.add_option(resize, "Resize the target file to (or by) this size. Prefix with + or - to expand or shrink the file, or a bare number to set the size exactly", "size", 's', "size");