[Ada] System.OS_Interface: fix Critical_Section.SpinCount type
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 9 Jul 2019 07:55:28 +0000 (07:55 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 9 Jul 2019 07:55:28 +0000 (07:55 +0000)
2019-07-09  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* libgnarl/s-osinte__mingw.ads (CRITICAL_SECTION): Use proper
type for SpinCount component.

From-SVN: r273291

gcc/ada/ChangeLog
gcc/ada/libgnarl/s-osinte__mingw.ads

index ee00d1f4b993b2f545c1ddb638bee2ba4e85e11d..cfbdf89a5821126cf31255a8b340637c2ea16c38 100644 (file)
@@ -1,3 +1,8 @@
+2019-07-09  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * libgnarl/s-osinte__mingw.ads (CRITICAL_SECTION): Use proper
+       type for SpinCount component.
+
 2019-07-09  Justin Squirek  <squirek@adacore.com>
 
        * exp_ch4.adb (Expand_N_Allocator): Add conditional to detect
index 2cf47b72a66f0ae4a23b2b1bc283fe82b5417f72..2a986641f699206133d110ba0765342b15b0dbd7 100644 (file)
@@ -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;