mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-08 22:20:56 +00:00
Fixed compile warning related to file identification feature.
Change-Id: Id33cf778caa818c7d3988edee82058e63bfecbf0 Tested: on Linux
This commit is contained in:
@@ -613,7 +613,7 @@ class FlatBufferBuilder {
|
||||
return CreateVectorOfStructs(v.data(), v.size());
|
||||
}
|
||||
|
||||
static const int kFileIdentifierLength = 4;
|
||||
static const size_t kFileIdentifierLength = 4;
|
||||
|
||||
// Finish serializing a buffer by writing the root offset.
|
||||
// If a file_identifier is given, the buffer will be prefix with a standard
|
||||
|
||||
Reference in New Issue
Block a user