From e857e7a297794d7f7c2fd1e0aff82f2fd1033229 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Thu, 10 Oct 2019 16:50:04 +0200 Subject: [PATCH] [ion] Avoid a cast from NULL to \0 --- ion/src/shared/console_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ion/src/shared/console_display.cpp b/ion/src/shared/console_display.cpp index 4b9e67694..8be425eb9 100644 --- a/ion/src/shared/console_display.cpp +++ b/ion/src/shared/console_display.cpp @@ -6,7 +6,7 @@ namespace Ion { namespace Console { char readChar() { - return NULL; + return '\0'; } static KDPoint cursor = KDPointZero;