$OpenBSD: patch-src_fpu_fpu_instructions_x86_h,v 1.1 2017/07/29 08:59:35 sthen Exp $

Fix on clang/i386, upstream commit https://sourceforge.net/p/dosbox/code-0/3841/

Index: src/fpu/fpu_instructions_x86.h
--- src/fpu/fpu_instructions_x86.h.orig
+++ src/fpu/fpu_instructions_x86.h
@@ -1162,12 +1162,12 @@ static void FPU_FLD_F80(PhysPt addr) {
 
 static void FPU_FLD_I16(PhysPt addr,Bitu store_to) {
 	fpu.p_regs[8].m1 = (Bit32u)mem_readw(addr);
-	FPUD_LOAD(fild,WORD,)
+	FPUD_LOAD(fild,WORD,s)
 }
 
 static void FPU_FLD_I16_EA(PhysPt addr) {
 	fpu.p_regs[8].m1 = (Bit32u)mem_readw(addr);
-	FPUD_LOAD_EA(fild,WORD,)
+	FPUD_LOAD_EA(fild,WORD,s)
 }
 
 static void FPU_FLD_I32(PhysPt addr,Bitu store_to) {
@@ -1212,7 +1212,7 @@ static void FPU_FST_F80(PhysPt addr) {
 }
 
 static void FPU_FST_I16(PhysPt addr) {
-	FPUD_STORE(fistp,WORD,)
+	FPUD_STORE(fistp,WORD,s)
 	mem_writew(addr,(Bit16u)fpu.p_regs[8].m1);
 }
 
