summaryrefslogtreecommitdiff
path: root/AK/PrintfImplementation.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-08-18 15:52:24 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-08-18 16:14:21 +0200
commit5465795dc3b85bc4ae0f464e183ef7550cf01ac4 (patch)
tree334530e3885d05d78e632f64a73b08e4aaf790ef /AK/PrintfImplementation.h
parentccdeafdefbd43074da6dfe4bfa9d2f24c374fad0 (diff)
downloadserenity-5465795dc3b85bc4ae0f464e183ef7550cf01ac4.zip
AK: The printf family was mixing up case and alternate form settings
Diffstat (limited to 'AK/PrintfImplementation.h')
-rw-r--r--AK/PrintfImplementation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h
index 8ba21b92ec..3034bfa6f9 100644
--- a/AK/PrintfImplementation.h
+++ b/AK/PrintfImplementation.h
@@ -13,7 +13,7 @@ extern "C" size_t strlen(const char*);
#endif
template<typename PutChFunc, typename T>
-[[gnu::always_inline]] inline int print_hex(PutChFunc putch, char*& bufptr, T number, bool alternate_form, bool upper_case, bool left_pad, bool zeroPad, u8 width)
+[[gnu::always_inline]] inline int print_hex(PutChFunc putch, char*& bufptr, T number, bool upper_case, bool alternate_form, bool left_pad, bool zeroPad, u8 width)
{
int ret = 0;