summaryrefslogtreecommitdiff
path: root/src/pal/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/inc')
-rw-r--r--src/pal/inc/pal.h2
-rw-r--r--src/pal/inc/rt/sal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index 20befc9de4..0422a8886e 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -4979,7 +4979,7 @@ PAL_FreeExceptionRecords(
struct PAL_SEHException
{
private:
- static const SIZE_T NoTargetFrameSp = SIZE_MAX;
+ static const SIZE_T NoTargetFrameSp = (SIZE_T)SIZE_MAX;
void Move(PAL_SEHException& ex)
{
diff --git a/src/pal/inc/rt/sal.h b/src/pal/inc/rt/sal.h
index e5622a817b..9a8c2a480f 100644
--- a/src/pal/inc/rt/sal.h
+++ b/src/pal/inc/rt/sal.h
@@ -2604,6 +2604,7 @@ extern "C" {
#ifndef PAL_STDCPP_COMPAT
#define __null
#define __notnull
+ #define __deref
#endif // !PAL_STDCPP_COMPAT
#define __maybenull
#define __readonly
@@ -2618,7 +2619,6 @@ extern "C" {
#define __writableTo(size)
#define __elem_writableTo(size)
#define __byte_writableTo(size)
- #define __deref
#define __pre
#define __post
#define __precond(expr)