Commit d1f7875c authored by David Gobbi's avatar David Gobbi

Use a wider integer for the parser stack.

The MSVC10 64-bit build was complaining about type narrowing,
because the union that the parser used as its value type had
and "unsigned int" member that was narrower than the union.
It seems best to use a 64-bit integer for 64-bit platforms.

Change-Id: Idc198283f2d7865a33438bfc8ae0f9c6279ecbba
parent fced8141
......@@ -1484,8 +1484,8 @@ union YYSTYPE
{
const char *str;
unsigned int integer;
const char *str;
size_t integer;
};
......
......@@ -1299,8 +1299,8 @@ unsigned int add_indirection_to_array(unsigned int type)
<str> is for IDs and <integer> is for types, modifiers, etc. */
%union{
const char *str;
unsigned int integer;
const char *str;
size_t integer;
}
/* Lexical tokens defined in vtkParse.l */
......
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