Commit a374ff0b authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msvcp140/tests: Avoid filling value truncation in memset (Coverity).

parent c675bf4e
......@@ -259,7 +259,7 @@ static void test_task_continuation_context(void)
{
task_continuation_context tcc;
memset(&tcc, 0xdead, sizeof(tcc));
memset(&tcc, 0xff, sizeof(tcc));
call_func1(p_task_continuation_context_ctor, &tcc);
ok(!tcc.unk0, "tcc.unk0 != NULL (%p)\n", tcc.unk0);
ok(!tcc.unk1, "tcc.unk1 != 0 (%x)\n", tcc.unk1);
......
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