Commit 3462153a authored by Serge Gautherie's avatar Serge Gautherie Committed by Alexandre Julliard

winapi_test: Do not multiply type size when it is undefined, in _refresh().

parent 93a5ce24
......@@ -239,8 +239,14 @@ sub _refresh($)
}
else
{
print STDERR "$type_name -> type_size=undef, count=$count\n" if (!defined $type_size);
$type_size *= int($count);
if (!defined $type_size)
{
print STDERR "$type_name -> type_size=undef, count=$count\n";
}
else
{
$type_size *= int($count);
}
}
}
if ($bitfield_size != 0)
......
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