From 18934a8d0feb60be26513cfbb4b9d34a908a7602 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 9 Jul 2019 07:55:28 +0000 Subject: [PATCH] [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 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/libgnarl/s-osinte__mingw.ads | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.30.2