https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e3cbdcf2e94c576ce31b9…
commit e3cbdcf2e94c576ce31b9aec33a7b4666acecc97
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Tue Dec 29 19:08:38 2020 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Tue Jan 5 14:19:45 2021 +0100
[CRT] Use correct prototypes for GCC x64
---
sdk/include/crt/mingw32/intrin_x86.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/include/crt/mingw32/intrin_x86.h b/sdk/include/crt/mingw32/intrin_x86.h
index 600402bce66..ee41ff971a2 100644
--- a/sdk/include/crt/mingw32/intrin_x86.h
+++ b/sdk/include/crt/mingw32/intrin_x86.h
@@ -834,7 +834,7 @@ __INTRIN_INLINE void __movsd(unsigned long * Destination, const
unsigned long *
}
#ifdef __x86_64__
-__INTRIN_INLINE void __movsq(unsigned long * Destination, const unsigned long * Source,
size_t Count)
+__INTRIN_INLINE void __movsq(unsigned long long * Destination, const unsigned long long *
Source, size_t Count)
{
__asm__ __volatile__
(
@@ -927,7 +927,7 @@ __INTRIN_INLINE void __addgsword(unsigned long Offset, unsigned short
Data)
__asm__ __volatile__("addw %w[Data], %%gs:%a[Offset]" : : [Offset]
"ir" (Offset), [Data] "ir" (Data) : "memory");
}
-__INTRIN_INLINE void __addgsdword(unsigned long Offset, unsigned int Data)
+__INTRIN_INLINE void __addgsdword(unsigned long Offset, unsigned long Data)
{
__asm__ __volatile__("addl %k[Data], %%gs:%a[Offset]" : : [Offset]
"ir" (Offset), [Data] "ir" (Data) : "memory");
}