diff options
-rw-r--r-- | libs/pbd/fpu.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/pbd/fpu.cc b/libs/pbd/fpu.cc index 92c6d3e41a..4db7acdd2d 100644 --- a/libs/pbd/fpu.cc +++ b/libs/pbd/fpu.cc @@ -141,10 +141,11 @@ FPU::FPU () memset (*fxbuf, 0, 512); #ifdef COMPILER_MSVC + char *buf = *fxbuf; __asm { - mov eax, fxbuf - fxsave [eax] - }; + mov eax, buf + fxsave [eax] + }; #else asm volatile ( "fxsave (%0)" |