Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-35133: [Go] fix for
math.MaxUint32 overflows int
error in …
…32-bit arch (apache#35159) ### Rationale for this change When compiling on i386 arch, an error like `math.MaxUint32 (untyped int constant 4294967295) overflows int` will appear. The Int type is 32-bit and in 32-bit arch it overflows. In my PR, I cast `int` to `unint` to avoid this error. * Closes: apache#35133 Authored-by: sunpeng <sunpeng.dev@gmail.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>
- Loading branch information