Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix building for 32bit architectures
The code was previously assuming that int type was always int64. This caused us to fail to build for 32bit systems where we were doing a check against MaxUint32. We now explicitly cast the value to int64 prior to doing the check. On 32bit systems this is fine because the length of the array can't be larger than MaxInt32. Fixes: #1
- Loading branch information