summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/math/ceill.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/common/math/ceill.asm')
-rw-r--r--src/VBox/Runtime/common/math/ceill.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Runtime/common/math/ceill.asm b/src/VBox/Runtime/common/math/ceill.asm
index 502181cd..ec2d0371 100644
--- a/src/VBox/Runtime/common/math/ceill.asm
+++ b/src/VBox/Runtime/common/math/ceill.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;
@@ -38,7 +38,7 @@ BEGINPROC RT_NOCRT(ceill)
mov xBP, xSP
sub xSP, 10h
- fld tword [xBP + xS*2]
+ fld tword [xBP + xCB*2]
; Make it round up by modifying the fpu control word.
fstcw [xBP - 10h]