[ox/std] Fix errCode extraction incorrect bit shift
This commit is contained in:
parent
338199be12
commit
32e2878fb1
2
deps/ox/src/ox/std/error.hpp
vendored
2
deps/ox/src/ox/std/error.hpp
vendored
@ -23,7 +23,7 @@ namespace ox {
|
||||
using Error = uint64_t;
|
||||
|
||||
constexpr Error errCode(Error err) {
|
||||
return (err >> 58) & onMask<Error>(5);
|
||||
return (err >> 59) & onMask<Error>(5);
|
||||
}
|
||||
|
||||
struct ErrorInfo {
|
||||
|
Loading…
x
Reference in New Issue
Block a user