fix(kernel/std): cast lhs and rhs to __UINTPTR_TYPE__

This commit is contained in:
2025-06-11 03:45:34 +00:00
parent f7177f92cf
commit 3d92a87bef

View File

@ -428,7 +428,7 @@ namespace std
{
if (__builtin_is_constant_evaluated())
return lhs < rhs;
return (uintptr_t)lhs < (uintptr_t)rhs;
return (__UINTPTR_TYPE__)lhs < (__UINTPTR_TYPE__)rhs;
}
};