Enable MSVC warning for thread safety with statics

Clean up a couple of additional issues found while playing with /Wall in MSVC.
This commit is contained in:
Jason Turner
2014-05-11 10:52:07 -06:00
parent 5f2796868b
commit bcb7172037
4 changed files with 8 additions and 5 deletions

View File

@@ -194,7 +194,7 @@ namespace chaiscript
/**
* test a char in an m_alphabet
*/
bool char_in_alphabet(unsigned char c, detail::Alphabet a) { return m_alphabet[a][c]; }
bool char_in_alphabet(char c, detail::Alphabet a) { return m_alphabet[a][c]; }
/**
* Prints the parsed ast_nodes as a tree