diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 21:49:58 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 21:49:58 +0100 |
| commit | df44a789fc90497325ba91be515c02145ae39142 (patch) | |
| tree | 71fca5d75367399a38c37e9adc43ac5e816a0327 /Private/Source | |
| parent | 08eeda990be33db8048031df2a40ec28955e6430 (diff) | |
Kernel: Provide platform specific code for IOArray.
Kernel: Add PE header for Kernel AND bootloader.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Source')
| -rw-r--r-- | Private/Source/String.cxx | 2 | ||||
| -rw-r--r-- | Private/Source/Utils.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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; |
