Removed truncating of enum vals to int in ReverseLookup.
Some implementations (e.g. C++98) won't support 64-bit enum values, but there is no reason to silently truncate them. Change-Id: I8629563523a96e887068f9c0efcd53741f60e0d6 Tested: on Linux.
Showing
- include/flatbuffers/idl.h 1 addition, 1 deletioninclude/flatbuffers/idl.h
- src/idl_gen_cpp.cpp 1 addition, 1 deletionsrc/idl_gen_cpp.cpp
- src/idl_gen_js.cpp 1 addition, 1 deletionsrc/idl_gen_js.cpp
- src/idl_gen_php.cpp 1 addition, 1 deletionsrc/idl_gen_php.cpp
- src/idl_gen_text.cpp 1 addition, 1 deletionsrc/idl_gen_text.cpp
- src/idl_parser.cpp 4 additions, 4 deletionssrc/idl_parser.cpp
Loading
Please register or sign in to comment