summaryrefslogtreecommitdiff
path: root/LibC/stdio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibC/stdio.cpp')
-rw-r--r--LibC/stdio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/stdio.cpp b/LibC/stdio.cpp
index 5ddb06b757..3448659fab 100644
--- a/LibC/stdio.cpp
+++ b/LibC/stdio.cpp
@@ -7,7 +7,7 @@
#define ALWAYS_INLINE __attribute__ ((always_inline))
-static const char h[] = { '0','1','2','3','4','5','6','7', '8','9','a','b','c','d','e','f' };
+static constexpr const char* h = "0123456789abcdef";
template<typename PutChFunc>
ALWAYS_INLINE int printHex(PutChFunc putch, char*& bufptr, dword number, byte fields)