Michael Stefaniuc : msxml3/tests: Floating point numeric constants are by default doubles.
Alexandre Julliard
julliard at winehq.org
Wed Feb 20 16:36:59 CST 2019
Module: wine
Branch: master
Commit: 94e76b1b3c49460198c85297d6a07b05da804b55
URL: https://source.winehq.org/git/wine.git/?a=commit;h=94e76b1b3c49460198c85297d6a07b05da804b55
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Mon Feb 18 21:14:01 2019 +0100
msxml3/tests: Floating point numeric constants are by default doubles.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msxml3/tests/schema.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/tests/schema.c b/dlls/msxml3/tests/schema.c
index 9e5116f..f1f3e42 100644
--- a/dlls/msxml3/tests/schema.c
+++ b/dlls/msxml3/tests/schema.c
@@ -1371,10 +1371,10 @@ static void test_XDR_datatypes(void)
break;
case VT_R8:
if (!strcmp(ptr->typename, "float"))
- ok(V_R8(&v) == (double)3.14159, "got %f\n", V_R8(&v));
+ ok(V_R8(&v) == 3.14159, "got %f\n", V_R8(&v));
else
todo_wine
- ok(V_R8(&v) == (double)3.14159265358979323846, "got %.20f\n", V_R8(&v));
+ ok(V_R8(&v) == 3.14159265358979323846, "got %.20f\n", V_R8(&v));
break;
case VT_UI1:
ok(V_UI1(&v) == 0xFF, "got %02x\n", V_UI1(&v));
More information about the wine-cvs
mailing list