Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: fix array sorting on big endian 64 bit
The array elements are unsigned long, i.e. 64 bit on such arches. When casting them to int only the lower half would be compared, which doesn't matter on 32 bit arches or little endian, but fails on 64 bit BE as s390 or sparc.
- Loading branch information