zeroshade commented on a change in pull request #11712:
URL: https://github.com/apache/arrow/pull/11712#discussion_r751416375
##########
File path: go/arrow/memory/checked_allocator.go
##########
@@ -21,12 +21,13 @@ import (
"runtime"
"strconv"
"sync"
+ "sync/atomic"
"unsafe"
)
type CheckedAllocator struct {
mem Allocator
- sz int
+ sz int64
Review comment:
why this change? it only really affects when this is built and run on a
32-bit machine since an `int` will be 64bits on 64-bit architectures
--
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]