summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9c4f964)
This function was being called with an 'unsigned int *' but it took it
as a 'size_t *', which worked fine on 32-bit systems but caused an
enormous number of tests to fail on 64-bit systems.
Thanks to Alan Mead and John Darrington for assistance.
Fixes: 5cab4cf3322f ("output: Introduce pivot tables.")
-equal_indexes (const size_t *a, const size_t *b, size_t n)
+equal_indexes (const size_t *a, const unsigned int *b, size_t n)
{
for (size_t i = 0; i < n; i++)
if (a[i] != b[i])
{
for (size_t i = 0; i < n; i++)
if (a[i] != b[i])