diff --git a/LibQNNHelper/src/Utils/DataUtil.cpp b/LibQNNHelper/src/Utils/DataUtil.cpp index 10ae0ac..00a0163 100644 --- a/LibQNNHelper/src/Utils/DataUtil.cpp +++ b/LibQNNHelper/src/Utils/DataUtil.cpp @@ -5,6 +5,8 @@ // SPDX-License-Identifier: BSD-3-Clause // //============================================================================== +#pragma warning(push) +#pragma warning(disable:4267) #include #include #include @@ -402,4 +404,4 @@ template datautil::StatusCode datautil::castFromFloat(int16_t* out, template datautil::StatusCode datautil::castFromFloat(int32_t* out, float* in, - size_t numElements); \ No newline at end of file + size_t numElements);