diff --git a/test/testvalueflow.cpp b/test/testvalueflow.cpp index 6178d0329..88c92623d 100644 --- a/test/testvalueflow.cpp +++ b/test/testvalueflow.cpp @@ -32,6 +32,7 @@ #include #include #include +#include class TestValueFlow : public TestFixture { public: @@ -929,7 +930,7 @@ private: "x = sizeof(arr);"; values = tokenValues(code,"( arr )"); ASSERT_EQUALS(1U, values.size()); - ASSERT_EQUALS(10 * sizeof(uint16_t), values.back().intvalue); + ASSERT_EQUALS(10 * sizeof(std::uint16_t), values.back().intvalue); } void valueFlowErrorPath() {