summaryrefslogtreecommitdiff
path: root/AK/NumberFormat.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/NumberFormat.h')
-rw-r--r--AK/NumberFormat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/NumberFormat.h b/AK/NumberFormat.h
index d63d424277..ce778eccc7 100644
--- a/AK/NumberFormat.h
+++ b/AK/NumberFormat.h
@@ -11,7 +11,7 @@
namespace AK {
// FIXME: Remove this hackery once printf() supports floats.
-static String number_string_with_one_decimal(u64 number, u64 unit, const char* suffix)
+static String number_string_with_one_decimal(u64 number, u64 unit, char const* suffix)
{
int decimal = (number % unit) * 10 / unit;
return String::formatted("{}.{} {}", number / unit, decimal, suffix);