clesaec commented on code in PR #1852:
URL: https://github.com/apache/avro/pull/1852#discussion_r996864133


##########
lang/c++/impl/Compiler.cc:
##########
@@ -384,7 +396,7 @@ static NodePtr makeEnumNode(const Entity &e,
 
 static NodePtr makeFixedNode(const Entity &e,
                              const Name &name, const Object &m) {
-    int v = static_cast<int>(getLongField(e, m, "size"));
+    size_t v = getLongField(e, m, "size");

Review Comment:
   updated



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to