Fixes for VS 2015 build.

Change-Id: I23280e611163a89b8eba7b9b0016c297fea2396e
This commit is contained in:
Wouter van Oortmerssen
2017-04-24 10:29:25 -07:00
parent 0c80b3a7cc
commit e93a5652d0
2 changed files with 3 additions and 2 deletions

View File

@@ -1281,7 +1281,7 @@ class Builder FLATBUFFERS_FINAL_CLASS {
// Write vector. First the keys width/offset if available, and size.
if (keys) {
WriteOffset(keys->u_, byte_width);
Write<uint64_t>(1U << keys->min_bit_width_, byte_width);
Write<uint64_t>(1ULL << keys->min_bit_width_, byte_width);
}
if (!fixed) Write<uint64_t>(vec_len, byte_width);
// Then the actual data.