diff --git a/include/gp/dynamic/compiler/lexer.hpp b/include/gp/dynamic/compiler/lexer.hpp index 5a44337..6b616ef 100644 --- a/include/gp/dynamic/compiler/lexer.hpp +++ b/include/gp/dynamic/compiler/lexer.hpp @@ -131,7 +131,7 @@ constexpr inline const char* to_pretty_string(const gr_lexeme_type& value) { "else", "switch", "select", "case", "while", "do", "until", "for", "loop", "return", "self", "kill", "killall", "yield", "break", "continue" }; - return names[(uint64_t)value]; + return names[(size_t)value]; } #undef LEX