From a50711ad13de9ae9082e19453f91c89c3f505bda Mon Sep 17 00:00:00 2001 From: yinlei Date: Tue, 5 May 2015 11:14:59 +0800 Subject: [PATCH] Fix u_int8_t to uint8_t Change-Id: I475ef9454f51f1b7ec2a7f9086d711359456677a --- include/flatbuffers/flatbuffers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/flatbuffers/flatbuffers.h b/include/flatbuffers/flatbuffers.h index 5919af09b..f77b13eed 100644 --- a/include/flatbuffers/flatbuffers.h +++ b/include/flatbuffers/flatbuffers.h @@ -1006,7 +1006,7 @@ class Table { template P GetStruct(voffset_t field) const { auto field_offset = GetOptionalFieldOffset(field); - auto p = const_cast(data_ + field_offset); + auto p = const_cast(data_ + field_offset); return field_offset ? reinterpret_cast

(p) : nullptr; }