[CRT] Use correct prototypes for GCC x64

This commit is contained in:
Hervé Poussineau 2020-12-29 19:08:38 +01:00
parent de647b4155
commit e3cbdcf2e9

View file

@ -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");
}