summaryrefslogtreecommitdiff
path: root/src/JSystem/JUtility/JUTDirectPrint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JSystem/JUtility/JUTDirectPrint.cpp')
-rw-r--r--src/JSystem/JUtility/JUTDirectPrint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSystem/JUtility/JUTDirectPrint.cpp b/src/JSystem/JUtility/JUTDirectPrint.cpp
index a020ee2936..2f708f3043 100644
--- a/src/JSystem/JUtility/JUTDirectPrint.cpp
+++ b/src/JSystem/JUtility/JUTDirectPrint.cpp
@@ -190,7 +190,7 @@ void JUTDirectPrint::printSub(u16 position_x, u16 position_y, char const* format
return;
}
- int buffer_length = vsnprintf(buffer, ARRAY_SIZE(buffer), format, args);
+ int buffer_length = vsnprintf(buffer, ARRAY_SIZEU(buffer), format, args);
u16 x = position_x;
if (buffer_length > 0) {
if (clear) {