diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-11 17:51:19 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-11 17:51:19 +0200 |
| commit | c3856eddb5a8146751dac82ad1ba4433f5ca6d6d (patch) | |
| tree | a74bdf6f87d07a24496effbc157f74d379d25007 /dev/kernel/src/User.cc | |
| parent | 9da6a352ecf70a1f5be99058a880b20db1b57940 (diff) | |
tweak kernel, boot: use -Wall, -Werror, -Wpedantic now.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/src/User.cc')
| -rw-r--r-- | dev/kernel/src/User.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/kernel/src/User.cc b/dev/kernel/src/User.cc index e379eed9..d29ed112 100644 --- a/dev/kernel/src/User.cc +++ b/dev/kernel/src/User.cc @@ -31,7 +31,7 @@ namespace Kernel /// \param password password to hash. /// \return the hashed password //////////////////////////////////////////////////////////// - const Int32 cred_construct_token(Char* password, const Char* in_password, User* user, SizeT length) + Int32 cred_construct_token(Char* password, const Char* in_password, User* user, SizeT length) { if (!password || !user) return 1; @@ -40,7 +40,7 @@ namespace Kernel for (SizeT i_pass = 0UL; i_pass < length; ++i_pass) { - const Char cur_chr = in_password[i_pass]; + Char cur_chr = in_password[i_pass]; if (cur_chr == 0) break; |
