Commit 313f838a authored by David Gobbi's avatar David Gobbi
Browse files

BUG: vtkWrap_IsInteger() was rejecting VTK_PARSE_UNSIGNED_CHAR

parent 1c3ddc1f
......@@ -160,7 +160,10 @@ int vtkWrap_IsInteger(ValueInfo *val)
{
unsigned int t = (val->Type & VTK_PARSE_BASE_TYPE);
t = (t & ~VTK_PARSE_UNSIGNED);
if (t != VTK_PARSE_UNSIGNED_CHAR)
{
t = (t & ~VTK_PARSE_UNSIGNED);
}
switch (t)
{
case VTK_PARSE_SHORT:
......@@ -169,6 +172,7 @@ int vtkWrap_IsInteger(ValueInfo *val)
case VTK_PARSE_ID_TYPE:
case VTK_PARSE_LONG_LONG:
case VTK_PARSE___INT64:
case VTK_PARSE_UNSIGNED_CHAR:
case VTK_PARSE_SIGNED_CHAR:
case VTK_PARSE_SSIZE_T:
return 1;
......
Supports Markdown
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