diff options
Diffstat (limited to 'upb')
-rw-r--r-- | upb/pb/decoder.int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/pb/decoder.int.h b/upb/pb/decoder.int.h index 47eb3ed..42fd7f8 100644 --- a/upb/pb/decoder.int.h +++ b/upb/pb/decoder.int.h @@ -70,7 +70,7 @@ typedef enum { #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 { upb_arena *arena; |