Skip to content

Commit

Permalink
[C++] Fix field encoding length when an array to be consistent with J…
Browse files Browse the repository at this point in the history
…ava implementation. Issue #595.
  • Loading branch information
mjpt777 committed Oct 9, 2018
1 parent ac23354 commit c5d11c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ private CharSequence generatePrimitiveFieldMetaData(
indent + " return %2$d;\n" +
indent + " }\n",
propertyName,
token.encoding().primitiveType().size()));
token.encoding().primitiveType().size() * token.arrayLength()));

return sb;
}
Expand Down

0 comments on commit c5d11c1

Please sign in to comment.