Skip to content

Commit 73276f6

Browse files
authored
Fix build issues (#69)
1 parent 78b7a74 commit 73276f6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

MarathonRecomp/kernel/heap.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "heap.h"
33
#include "memory.h"
44
#include "function.h"
5+
#include "xdm.h"
56

67
constexpr size_t RESERVED_BEGIN = 0x7FEA0000;
78
constexpr size_t RESERVED_END = 0xA0000000;

MarathonRecomp/kernel/imports.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,9 @@ uint32_t RtlNtStatusToDosError(uint32_t Status)
575575

576576
switch (Status)
577577
{
578-
case STATUS_NOT_IMPLEMENTED:
578+
case uint32_t(STATUS_NOT_IMPLEMENTED):
579579
return ERROR_CALL_NOT_IMPLEMENTED;
580-
case STATUS_SEMAPHORE_LIMIT_EXCEEDED:
580+
case uint32_t(STATUS_SEMAPHORE_LIMIT_EXCEEDED):
581581
return ERROR_TOO_MANY_POSTS;
582582
default:
583583
LOGF_WARNING("Unimplemented NtStatus translation: {:#08x}", Status);

0 commit comments

Comments
 (0)