From 5e2eed5ea1b24dd0353a4341eaf2e57100329c49 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 16 Jul 2020 13:30:56 -0400 Subject: [PATCH] Fix windows build Change-Id: I0c5fff636ec43d5c1daf888457f77ef214a29566 [ROCm/clr commit: 2f3e9afab797ca3b23d35ed7b8ec29f43ca30f0b] --- projects/clr/rocclr/thread/semaphore.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/rocclr/thread/semaphore.hpp b/projects/clr/rocclr/thread/semaphore.hpp index 1d725d43cb..623399556d 100644 --- a/projects/clr/rocclr/thread/semaphore.hpp +++ b/projects/clr/rocclr/thread/semaphore.hpp @@ -52,7 +52,7 @@ class Semaphore : public HeapObject { #ifdef _WIN32 void* handle_; //!< The semaphore object's handle. - char padding_[64 - state_size - sizeof(handle_))]; + char padding_[64 - state_size - sizeof(handle_)]; #else // !_WIN32 sem_t sem_; //!< The semaphore object's identifier. char padding_[64 - state_size - sizeof(sem_)];