ole32: Fix the HMETAFILEPICT user marshaling test to use the size
commit307ab51793a2d436956a5eac277fdc00bf3bc86a
authorRob Shearman <rob@codeweavers.com>
Tue, 19 Dec 2006 13:03:33 +0000 (19 13:03 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 19 Dec 2006 16:00:02 +0000 (19 17:00 +0100)
tree8e185fce423a0aa6fe8ddb0424fa90f9ddc6c3e4
parent00982465c460bf6f1021bf94002847589a9b7dd6
ole32: Fix the HMETAFILEPICT user marshaling test to use the size
derived from the return value of HMETAFILEPICT_UserMarshal instead of
the value returned by HMETAFILEPICT_UserSize, as the latter
over-estimates the size on Windows.

Remove some unnecessary casts.
dlls/ole32/tests/usrmarshal.c