diff --git a/misc-natives/src/main/c/jagmisc.c b/misc-natives/src/main/c/jagmisc.c index 1ba6f69..06a06d6 100644 --- a/misc-natives/src/main/c/jagmisc.c +++ b/misc-natives/src/main/c/jagmisc.c @@ -26,7 +26,7 @@ static inline int64_t jagmisc_to_nanos(LARGE_INTEGER count) { return count.QuadPart * JAGMISC_NANOS_PER_SEC / jagmisc_freq.QuadPart; } -static DWORD WINAPI jagmisc_run(LPVOID parameter) { +static DWORD WINAPI jagmisc_run(LPVOID lpParameter) { /* pin this thread to the system's first processor */ HANDLE thread = GetCurrentThread();