From 8f96ec4ffd0f0c334ceac41e51c5ac32f45bbdb3 Mon Sep 17 00:00:00 2001 From: Ludovic 'Archivist' Lagouardette Date: Thu, 15 Apr 2021 03:50:05 +0200 Subject: [PATCH] Changed stupid mistyping --- include/gp/dynamic/compiler/lexer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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