Skip to content
Snippets Groups Projects
Commit 892c78c5 authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Fix -Wformat warning in vtkMNITagPointWriter

parent 692ccae8
No related branches found
No related tags found
No related merge requests found
......@@ -386,7 +386,7 @@ void vtkMNITagPointWriter::WriteData(vtkPointSet* inputs[2])
}
else
{
snprintf(text, sizeof(text), "x%2.2x", (static_cast<int>(*si) & 0x00ff));
snprintf(text, sizeof(text), "x%2.2x", (static_cast<unsigned int>(*si) & 0x00ff));
outfile << text;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment