Francois Gouget : rpcrt4/tests:
Fix a Visual C++ double to float conversion warning.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue May 29 08:05:41 CDT 2007
Module: wine
Branch: master
Commit: 8d7ad785e3ec5004ae8e22aa7c823de1466e8bb9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d7ad785e3ec5004ae8e22aa7c823de1466e8bb9
Author: Francois Gouget <fgouget at free.fr>
Date: Mon May 28 01:17:17 2007 +0200
rpcrt4/tests: Fix a Visual C++ double to float conversion warning.
---
dlls/rpcrt4/tests/ndr_marshall.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/tests/ndr_marshall.c b/dlls/rpcrt4/tests/ndr_marshall.c
index e6bd4d5..ec12983 100644
--- a/dlls/rpcrt4/tests/ndr_marshall.c
+++ b/dlls/rpcrt4/tests/ndr_marshall.c
@@ -437,7 +437,7 @@ static void test_simple_types(void)
*(ULONGLONG*)(wiredata + 2 * sizeof(void*)) = ll;
test_pointer_marshal(fmtstr_up_longlong, &ll, 8, wiredata, 16, NULL, 0, "up_longlong");
- f = 3.1415;
+ f = 3.1415f;
*(void**)wiredata = &f;
*(float*)(wiredata + sizeof(void*)) = f;
test_pointer_marshal(fmtstr_up_float, &f, 4, wiredata, 8, NULL, 0, "up_float");
More information about the wine-cvs
mailing list