From 7e80dae59b36d95b694b6468d7e423c0a8300c73 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Thu, 5 May 2016 11:04:44 +0200 Subject: [PATCH] Fix MSVS build. --- include/util/static_rtree.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/util/static_rtree.hpp b/include/util/static_rtree.hpp index a105dc941..2d9f63d0b 100644 --- a/include/util/static_rtree.hpp +++ b/include/util/static_rtree.hpp @@ -74,9 +74,9 @@ class StaticRTree struct LeafNode { LeafNode() : object_count(0), objects() {} - uint32_t object_count; + std::uint32_t object_count; std::array objects; - unsigned char leaf_page_padding[LEAF_PAGE_SIZE - sizeof(object_count) - sizeof(objects)]; + unsigned char leaf_page_padding[LEAF_PAGE_SIZE - sizeof(std::uint32_t) - sizeof(std::array)]; }; static_assert(sizeof(LeafNode) == LEAF_PAGE_SIZE, "LeafNode size does not fit the page size");