summaryrefslogtreecommitdiff
path: root/cli_ure/source/native/native_share.h
diff options
context:
space:
mode:
Diffstat (limited to 'cli_ure/source/native/native_share.h')
-rw-r--r--cli_ure/source/native/native_share.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli_ure/source/native/native_share.h b/cli_ure/source/native/native_share.h
index 9b3ebe1ac9b9..1be1b3a082b3 100644
--- a/cli_ure/source/native/native_share.h
+++ b/cli_ure/source/native/native_share.h
@@ -91,10 +91,10 @@ inline void to_uno(
reinterpret_cast< void ** >( &ret ),
reinterpret_cast< void * >(
::System::Runtime::InteropServices::GCHandle::op_Explicit( handle )
-#if defined _WIN32
- .ToInt32()
-#elif defined _WIN64
+#if defined _WIN64
.ToInt64()
+#elif defined _WIN32
+ .ToInt32()
#else
#error ERROR: either _WIN64 or _WIN32 must be defined
ERROR: either _WIN64 or _WIN32 must be defined