From a8cc7a1bc8e8addda9504e8510ff95a68d86e4b3 Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Mon, 16 Oct 2017 08:06:10 -0700 Subject: [PATCH] Consistently use std::char_traits int_type-->char conversion intrinsics --- src/json.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json.hpp b/src/json.hpp index 750ae51a..1fa90456 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -2674,7 +2674,7 @@ scan_number_done: { yytext.clear(); token_string.clear(); - token_string.push_back(static_cast(current)); + token_string.push_back(std::char_traits::to_char_type(current)); } /*