pivot-table: Fix type mismatch in equal_indexes().
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 2 Jan 2019 22:22:24 +0000 (14:22 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 2 Jan 2019 22:50:07 +0000 (14:50 -0800)
commitd13ba5beebdde110e47fd8f4cd5ff4fd5ab55303
tree5c053a0ef10bd86103367db856aec2a3b8a7b32f
parent9c4f9645b4f0b99ebca6a7a25b81dafd358a7f7a
pivot-table: Fix type mismatch in equal_indexes().

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.")
src/output/pivot-table.c