From 8a7396493c3effb356d2dc4484b993b4698bc422 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 27 Apr 2025 23:31:27 +0200 Subject: dev, kernel: HeFS had to be redesigned to be less problematic with hard-drives. why? the struct were way too big to fit wihin a sector. Signed-off-by: Amlal --- dev/kernel/src/KString.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/kernel/src/KString.cc') diff --git a/dev/kernel/src/KString.cc b/dev/kernel/src/KString.cc index a13bb364..479eb2fc 100644 --- a/dev/kernel/src/KString.cc +++ b/dev/kernel/src/KString.cc @@ -112,8 +112,8 @@ bool KStringBuilder::Equals(const Char* lhs, const Char* rhs) { } /// @note This is unsafe!!! -bool KStringBuilder::Equals(const Utf16Char* lhs, const Utf16Char* rhs) { - for (Size index = 0; index < wrt_string_len(rhs); ++index) { +bool KStringBuilder::Equals(const Utf8Char* lhs, const Utf8Char* rhs) { + for (Size index = 0; index < urt_string_len(rhs); ++index) { if (rhs[index] != lhs[index]) return false; } -- cgit v1.2.3