From 1ca6d9c8470e8a3fdfc415cd98679aae785343a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 13 Mar 2019 19:01:54 +0100 Subject: [PATCH] Appveyor: Fix missing #include for uint16_t --- test/testvalueflow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {