diff --git a/kernel/orbis/src/vmem.cpp b/kernel/orbis/src/vmem.cpp index 0109d1ead..70f663e7b 100644 --- a/kernel/orbis/src/vmem.cpp +++ b/kernel/orbis/src/vmem.cpp @@ -291,6 +291,6 @@ orbis::vmem::queryProtection(Process *process, std::uint64_t address) { orbis::vmem::MemoryProtection result{}; result.startAddress = it.beginAddress(); result.endAddress = it.endAddress(); - result.prot = it->prot.toUnderlying(); + result.prot = it->prot; return result; }