Commit 8d7ad785 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

rpcrt4/tests: Fix a Visual C++ double to float conversion warning.

parent f27a7153
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment