diff options
Diffstat (limited to 'test/unit_tests/resource.cpp')
-rw-r--r-- | test/unit_tests/resource.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit_tests/resource.cpp b/test/unit_tests/resource.cpp index 894edca..66556d5 100644 --- a/test/unit_tests/resource.cpp +++ b/test/unit_tests/resource.cpp @@ -12,6 +12,8 @@ #include <boost/format.hpp> #include <boost/test/unit_test.hpp> +#include <cstdint> + using namespace winapi; #include <ostream> @@ -20,7 +22,7 @@ using namespace winapi; namespace std { ostream& operator<<(ostream& os, unsigned char c) { - return os << boost::format("%|1$02x|") % static_cast<unsigned int>(c); + return os << boost::format("%|1$02x|") % static_cast<uint32_t>(c); } ostream& operator<<(ostream& os, const vector<unsigned char>& cs) { |