Balance signed/unsigned issues between msvc and gcc
This commit is contained in:
parent
61cd633084
commit
be9632d0ad
@ -200,7 +200,7 @@ namespace chaiscript
|
||||
/**
|
||||
* test a char in an m_alphabet
|
||||
*/
|
||||
bool char_in_alphabet(char c, detail::Alphabet a) { return m_alphabet[a][c]; }
|
||||
bool char_in_alphabet(char c, detail::Alphabet a) { return m_alphabet[a][static_cast<int>(c)]; }
|
||||
|
||||
/**
|
||||
* Prints the parsed ast_nodes as a tree
|
||||
|
Loading…
x
Reference in New Issue
Block a user