From 68d27108103dab012800f491fdbfcca365d9211c Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Thu, 3 Nov 2022 18:37:40 +0800 Subject: [PATCH] fix(build): remove build so many warning on windows GitOrigin-RevId: 124b8975dba92aaaec0ad8d0a437af9f6bbd43ae --- dnn/include/megdnn/dtype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnn/include/megdnn/dtype.h b/dnn/include/megdnn/dtype.h index 18387cf9..4f3a9a3f 100644 --- a/dnn/include/megdnn/dtype.h +++ b/dnn/include/megdnn/dtype.h @@ -634,7 +634,7 @@ struct log<1> { static const uint16_t size_log = ::megdnn::dtype::log::value; \ static MEGDNN_CONSTEXPR int enumv = DTypeEnum::_name; \ static MEGDNN_CONSTEXPR uint16_t low_bit = _bits; \ - static MEGDNN_CONSTEXPR uint16_t bits = _bits == 0 ? sizeof(_ctype) * 8 : _bits; + static MEGDNN_CONSTEXPR uint16_t bits = _bits == 0 ? sizeof(_ctype) * 8 : _bits #endif // MEGDNN_CC_HOST #define MEGDNN_DEF_DT(_name, _ctype, _cat, _sign, _minval, _maxval) \