From ddb91f564af56f41720686e8e74659e35ae46475 Mon Sep 17 00:00:00 2001 From: yowl Date: Mon, 12 Dec 2022 10:13:21 -0500 Subject: [PATCH] set the return type to match the definition in InternalCalls.cs - and return the value. (#79538) --- src/coreclr/nativeaot/Runtime/MiscHelpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp b/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp index b6b95f46d5a54..c385e82792113 100644 --- a/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp @@ -388,9 +388,9 @@ EXTERN_C NATIVEAOT_API void __cdecl RhpReleaseThunkPoolLock() g_ThunkPoolLock.Leave(); } -EXTERN_C NATIVEAOT_API void __cdecl RhpGetTickCount64() +EXTERN_C NATIVEAOT_API uint64_t __cdecl RhpGetTickCount64() { - PalGetTickCount64(); + return PalGetTickCount64(); } EXTERN_C int32_t __cdecl RhpCalculateStackTraceWorker(void* pOutputBuffer, uint32_t outputBufferLength, void* pAddressInCurrentFrame);