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

This commit is contained in:
Francois Gouget 2007-05-28 01:17:17 +02:00 committed by Alexandre Julliard
parent f27a7153a5
commit 8d7ad785e3
1 changed files with 1 additions and 1 deletions

View File

@ -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");