From: Eric Botcazou Date: Tue, 9 Jul 2019 07:55:28 +0000 (+0000) Subject: [Ada] System.OS_Interface: fix Critical_Section.SpinCount type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18934a8d0feb60be26513cfbb4b9d34a908a7602;p=gcc.git [Ada] System.OS_Interface: fix Critical_Section.SpinCount type 2019-07-09 Eric Botcazou gcc/ada/ * libgnarl/s-osinte__mingw.ads (CRITICAL_SECTION): Use proper type for SpinCount component. From-SVN: r273291 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index ee00d1f4b99..cfbdf89a582 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-07-09 Eric Botcazou + + * libgnarl/s-osinte__mingw.ads (CRITICAL_SECTION): Use proper + type for SpinCount component. + 2019-07-09 Justin Squirek * exp_ch4.adb (Expand_N_Allocator): Add conditional to detect diff --git a/gcc/ada/libgnarl/s-osinte__mingw.ads b/gcc/ada/libgnarl/s-osinte__mingw.ads index 2cf47b72a66..2a986641f69 100644 --- a/gcc/ada/libgnarl/s-osinte__mingw.ads +++ b/gcc/ada/libgnarl/s-osinte__mingw.ads @@ -369,7 +369,7 @@ private -- section for the resource. LockSemaphore : Win32.HANDLE; - SpinCount : Win32.DWORD; + SpinCount : Interfaces.C.size_t; end record; end System.OS_Interface;