projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3aafe
)
Correctly dereference 'fxbuf' when building with MSVC
author
John Emmas
<johne53@tiscali.co.uk>
Thu, 30 Apr 2015 17:14:27 +0000
(18:14 +0100)
committer
John Emmas
<johne53@tiscali.co.uk>
Thu, 30 Apr 2015 17:17:24 +0000
(18:17 +0100)
libs/pbd/fpu.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/fpu.cc
b/libs/pbd/fpu.cc
index 92c6d3e41ac14bd9b31a174a008259f3c7766cc4..4db7acdd2d9c9f800f21c3aa15be0120c754fb13 100644
(file)
--- 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,
fx
buf
- fxsave [eax]
- };
+ mov eax, buf
+ fxsave [eax]
+
};
#else
asm volatile (
"fxsave (%0)"