From 28d278bd08eeadb4d0e0dd53af7d7898ca5d85fd Mon Sep 17 00:00:00 2001 From: "KJK::Hyperion" Date: Sat, 28 May 2005 15:41:09 +0000 Subject: [PATCH] Workaround for GCC inline assembly bug, hopefully fixed for good. Builds for me in both checked and free Bug details and status here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153 svn path=/trunk/; revision=15584 --- reactos/hal/halx86/include/hal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/hal/halx86/include/hal.h b/reactos/hal/halx86/include/hal.h index 18c91959d04..bbda83fa7fe 100644 --- a/reactos/hal/halx86/include/hal.h +++ b/reactos/hal/halx86/include/hal.h @@ -419,7 +419,7 @@ HalQueryDisplayOwnership(); static inline BYTE Ki386ReadFsByte(ULONG offset) { BYTE b; - __asm__ __volatile__("movb %%fs:(%1),%0":"=r" (b):"r" (offset)); + __asm__ __volatile__("movb %%fs:(%1),%0":"=q" (b):"r" (offset)); return b; }