mkmkme commented on code in PR #2966:
URL: https://github.com/apache/avro/pull/2966#discussion_r1677718795
##########
lang/c++/include/avro/buffer/BufferStreambuf.hh:
##########
@@ -135,7 +135,11 @@ protected:
memcpy(c, gptr(), toCopy);
c += toCopy;
bytesCopied += toCopy;
- gbump(toCopy);
+ while (toCopy > INT_MAX) {
Review Comment:
Ah I see... thanks!
You can leave it as it is now and add comment that this is only needed for
old gcc compatibility.
We do need to upgrade gcc on ARM runner at some point. FYI @martin-g, that's
not the first time this one bites
--
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]