From fe95b63cc450bc1eb0459dda916a858b5442a258 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 2 Oct 2018 20:09:42 +0900 Subject: [PATCH] remove warning of vc --- include/mcl/conversion.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mcl/conversion.hpp b/include/mcl/conversion.hpp index 745d376..7a04b7f 100644 --- a/include/mcl/conversion.hpp +++ b/include/mcl/conversion.hpp @@ -147,7 +147,7 @@ inline bool hexCharToUint8(uint8_t *v, char _c) } else { return false; } - *v = c; + *v = uint8_t(c); return true; }