about summary refs log tree commit diff stats
path: root/src/emu/x64runf30f.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/x64runf30f.c')
-rw-r--r--src/emu/x64runf30f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64runf30f.c b/src/emu/x64runf30f.c
index d42586fe..46268002 100644
--- a/src/emu/x64runf30f.c
+++ b/src/emu/x64runf30f.c
@@ -109,7 +109,7 @@ uintptr_t RunF30F(x64emu_t *emu, rex_t rex, uintptr_t addr)
             else

                 GD->sq[0] = EX->f[0];

         } else {

-            if(isnanf(EX->f[0]) || isinff(EX->f[0]) || EX->f[0]>0x7fffffff)

+            if(isnanf(EX->f[0]) || isinff(EX->f[0]) || EX->f[0]>(float)0x7fffffff)

                 GD->dword[0] = 0x80000000;

             else

                 GD->sdword[0] = EX->f[0];