diff options
author | Philippe Gil <gil@adacore.com> | 2024-02-07 14:53:54 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-14 10:19:56 +0200 |
commit | 42ea46c67ddcde686e3792864d035dfd1645801f (patch) | |
tree | eee1d16330c94fcd5a0856e572d7e51add5e2103 /gcc/ada/libgnat | |
parent | 996fd76402004d5f2fedbbf86cd8534e8c0c1f71 (diff) | |
download | gcc-42ea46c67ddcde686e3792864d035dfd1645801f.zip gcc-42ea46c67ddcde686e3792864d035dfd1645801f.tar.gz gcc-42ea46c67ddcde686e3792864d035dfd1645801f.tar.bz2 |
ada: Correct System.Win32.LocalFileTimeToFileTime wrapper typo
The parameters should be swapped to fit Fileapi.h documentation.
BOOL LocalFileTimeToFileTime(
[in] const FILETIME *lpLocalFileTime,
[out] LPFILETIME lpFileTime
);
gcc/ada/
* libgnat/s-win32.ads (LocalFileTimeToFileTime): Swap parameters.
Diffstat (limited to 'gcc/ada/libgnat')
-rw-r--r-- | gcc/ada/libgnat/s-win32.ads | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/libgnat/s-win32.ads b/gcc/ada/libgnat/s-win32.ads index 6ea6615..6e8e246 100644 --- a/gcc/ada/libgnat/s-win32.ads +++ b/gcc/ada/libgnat/s-win32.ads @@ -315,8 +315,8 @@ package System.Win32 is pragma Import (Stdcall, FileTimeToLocalFileTime, "FileTimeToLocalFileTime"); function LocalFileTimeToFileTime - (lpFileTime : access Long_Long_Integer; - lpLocalFileTime : access Long_Long_Integer) return BOOL; + (lpLocalFileTime : access Long_Long_Integer; + lpFileTime : access Long_Long_Integer) return BOOL; pragma Import (Stdcall, LocalFileTimeToFileTime, "LocalFileTimeToFileTime"); procedure Sleep (dwMilliseconds : DWORD); |