diff --git a/sdk/include/vcruntime/mingw32/intrin_x86.h b/sdk/include/vcruntime/mingw32/intrin_x86.h index 0eb1da7258e41..3dd3c5d819906 100644 --- a/sdk/include/vcruntime/mingw32/intrin_x86.h +++ b/sdk/include/vcruntime/mingw32/intrin_x86.h @@ -1602,17 +1602,17 @@ __INTRIN_INLINE void __outdword(unsigned short Port, unsigned long Data) __INTRIN_INLINE void __outbytestring(unsigned short Port, unsigned char * Buffer, unsigned long Count) { - __asm__ __volatile__("rep; outsb" : : [Port] "d" (Port), [Buffer] "S" (Buffer), "c" (Count)); + __asm__ __volatile__("rep; outsb" : "+S"(Buffer), "+c"(Count) : "d"(Port)); } __INTRIN_INLINE void __outwordstring(unsigned short Port, unsigned short * Buffer, unsigned long Count) { - __asm__ __volatile__("rep; outsw" : : [Port] "d" (Port), [Buffer] "S" (Buffer), "c" (Count)); + __asm__ __volatile__("rep; outsw" : "+S"(Buffer), "+c"(Count) : "d"(Port)); } __INTRIN_INLINE void __outdwordstring(unsigned short Port, unsigned long * Buffer, unsigned long Count) { - __asm__ __volatile__("rep; outsl" : : [Port] "d" (Port), [Buffer] "S" (Buffer), "c" (Count)); + __asm__ __volatile__("rep; outsl" : "+S"(Buffer), "+c"(Count) : "d"(Port)); } __INTRIN_INLINE int __cdecl _inp(unsigned short Port)