mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 02:19:15 +00:00
fix(kernel/std): cast lhs and rhs to __UINTPTR_TYPE__
This commit is contained in:
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user