diff options
| author | Amlal <amlal@nekernel.org> | 2025-04-27 23:31:27 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-04-27 23:31:27 +0200 |
| commit | 8a7396493c3effb356d2dc4484b993b4698bc422 (patch) | |
| tree | 1726a7342eaf1ae3adaefbfe019e20cff9b9ab09 /dev/kernel/src/KString.cc | |
| parent | 11dd858e1d9da71a182bc707ca3a481dafbccbe4 (diff) | |
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 <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/src/KString.cc')
| -rw-r--r-- | dev/kernel/src/KString.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
