Fixed warning from msvc

Warning	C4267	'argument': conversion from 'size_t' to 'int', possible loss of data
This commit is contained in:
schoetbi 2018-02-23 11:31:03 +01:00
parent 371e3cf0d9
commit da7f15a62e
1 changed files with 2 additions and 2 deletions

View File

@ -23048,8 +23048,8 @@ namespace exprtk
set_error( set_error(
make_error(parser_error::e_syntax, make_error(parser_error::e_syntax,
current_token(), current_token(),
"ERR108 - Index of " + details::to_str(index) + " out of range for " "ERR108 - Index of " + std::to_str(index) + " out of range for "
"vector '" + symbol + "' of size " + details::to_str(vec_size), "vector '" + symbol + "' of size " + std::to_str(vec_size),
exprtk_error_location)); exprtk_error_location));
free_node(node_allocator_,index_expr); free_node(node_allocator_,index_expr);