Commit f95b1a3f authored by Amy Squillacote's avatar Amy Squillacote
Browse files

BUG: fixing uninitialized memory access; set numTypes to the number of entries...

BUG: fixing uninitialized memory access; set numTypes to the number of entries in the type array; add VTK_STRING to the type array
parent 91c7c3c6
......@@ -12,9 +12,10 @@ int TestVariant(int, char*[])
VTK_TYPE_INT64,
VTK_TYPE_UINT64,
VTK_FLOAT,
VTK_DOUBLE
VTK_DOUBLE,
VTK_STRING
};
int numTypes = 10;
int numTypes = 7;
for (int i = 0; i < numTypes; i++)
{
......
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