diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c index b4eef19b4ea..266afcf4434 100644 --- a/dlls/mscms/tests/profile.c +++ b/dlls/mscms/tests/profile.c @@ -823,6 +823,8 @@ static void test_SetColorProfileElement(void) /* Functional checks */ + size = sizeof(data); + ret = pSetColorProfileElement( handle, tag, 0, &size, data ); ok( ret, "SetColorProfileElement() failed (%ld)\n", GetLastError() );