Merge pull request #255 from protocolbuffers/const-array

Making sure _upb_fieldtype_to_sizelg2 is readonly
pull/13171/head
Joshua Haberman 5 years ago committed by GitHub
commit 82af3d661c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      upb/msg.c

@ -9,7 +9,7 @@
/** upb_msg *******************************************************************/
static char _upb_fieldtype_to_sizelg2[12] = {
static const char _upb_fieldtype_to_sizelg2[12] = {
0,
0, /* UPB_TYPE_BOOL */
2, /* UPB_TYPE_FLOAT */

Loading…
Cancel
Save