From df44a789fc90497325ba91be515c02145ae39142 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 30 Jan 2024 21:49:58 +0100 Subject: Kernel: Provide platform specific code for IOArray. Kernel: Add PE header for Kernel AND bootloader. Signed-off-by: Amlal El Mahrouss --- Private/Source/String.cxx | 2 +- Private/Source/Utils.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Private/Source') diff --git a/Private/Source/String.cxx b/Private/Source/String.cxx index da1e2e84..ea371f93 100644 --- a/Private/Source/String.cxx +++ b/Private/Source/String.cxx @@ -77,7 +77,7 @@ const char *StringBuilder::FromInt(const char *fmt, int i) { Char result[8]; - if (!to_str(result, sizeof(int), i)) { + if (!rt_to_string(result, sizeof(int), i)) { return ("-1"); } diff --git a/Private/Source/Utils.cxx b/Private/Source/Utils.cxx index 7c61ec96..779016dc 100644 --- a/Private/Source/Utils.cxx +++ b/Private/Source/Utils.cxx @@ -119,7 +119,7 @@ Int rt_to_lower(Int character) { return character; } -bool to_str(Char *str, Int limit, Int base) { +bool rt_to_string(Char *str, Int limit, Int base) { if (limit == 0) return false; Int copy_limit = limit; -- cgit v1.2.3