mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-18 13:04:27 +00:00
Fix expected type of enum values in reflection tables (#4944)
Fixes #4930
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
a4c362a1ba
commit
a4f9d1bfcc
@@ -718,7 +718,7 @@ inline const flatbuffers::TypeTable *RapunzelTypeTable() {
|
||||
static const flatbuffers::TypeCode type_codes[] = {
|
||||
{ flatbuffers::ET_INT, 0, -1 }
|
||||
};
|
||||
static const int32_t values[] = { 0, 4 };
|
||||
static const int64_t values[] = { 0, 4 };
|
||||
static const char * const names[] = {
|
||||
"hair_length"
|
||||
};
|
||||
@@ -732,7 +732,7 @@ inline const flatbuffers::TypeTable *BookReaderTypeTable() {
|
||||
static const flatbuffers::TypeCode type_codes[] = {
|
||||
{ flatbuffers::ET_INT, 0, -1 }
|
||||
};
|
||||
static const int32_t values[] = { 0, 4 };
|
||||
static const int64_t values[] = { 0, 4 };
|
||||
static const char * const names[] = {
|
||||
"books_read"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user