From cbc1f48da28c2e072ce28a7ea33363cc346b7f8c Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 19 Aug 2019 20:45:51 +0900 Subject: [PATCH] [cybozu] disable warning --- include/cybozu/option.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cybozu/option.hpp b/include/cybozu/option.hpp index a5dfd13..f7fa1ba 100644 --- a/include/cybozu/option.hpp +++ b/include/cybozu/option.hpp @@ -345,7 +345,7 @@ class Option { template void append(T *pvar, const U& defaultVal, bool isMust, const char *opt, const std::string& help = "") { - *pvar = defaultVal; + *pvar = static_cast(defaultVal); appendSub(pvar, N_is1, isMust, opt, help); } /*