A few more Google fixes.

pull/13171/head
Josh Haberman 6 years ago
parent 76033b3a65
commit c358bb42fd
  1. 2
      BUILD
  2. 2
      upb/pb/decoder.int.h

@ -75,6 +75,7 @@ cc_library(
"upb/pb/textprinter.c", "upb/pb/textprinter.c",
"upb/pb/varint.c", "upb/pb/varint.c",
"upb/pb/varint.int.h", "upb/pb/varint.int.h",
"upb/table.int.h",
], ],
hdrs = [ hdrs = [
"upb/pb/decoder.h", "upb/pb/decoder.h",
@ -138,7 +139,6 @@ cc_binary(
], ],
) )
# We strip the tests and remaining rules from google3 until the upb_proto_library() # We strip the tests and remaining rules from google3 until the upb_proto_library()
# and upb_proto_reflection_library() rules are fixed. # and upb_proto_reflection_library() rules are fixed.

@ -70,7 +70,7 @@ typedef enum {
#define OP_MAX OP_HALT #define OP_MAX OP_HALT
UPB_INLINE opcode getop(uint32_t instr) { return instr & 0xff; } UPB_INLINE opcode getop(uint32_t instr) { return (opcode)(instr & 0xff); }
struct upb_pbcodecache { struct upb_pbcodecache {
upb_arena *arena; upb_arena *arena;

Loading…
Cancel
Save