summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/math/floorl.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/common/math/floorl.asm')
-rw-r--r--src/VBox/Runtime/common/math/floorl.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Runtime/common/math/floorl.asm b/src/VBox/Runtime/common/math/floorl.asm
index c27ada71..6a89c0ad 100644
--- a/src/VBox/Runtime/common/math/floorl.asm
+++ b/src/VBox/Runtime/common/math/floorl.asm
@@ -4,7 +4,7 @@
;
;
-; Copyright (C) 2006-2007 Oracle Corporation
+; Copyright (C) 2006-2010 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
@@ -37,7 +37,7 @@ BEGINPROC RT_NOCRT(floorl)
mov xBP, xSP
sub xSP, 10h
- fld tword [xBP + xS*2]
+ fld tword [xBP + xCB*2]
; Make it round down by modifying the fpu control word.
fstcw [xBP - 10h]