Remove one size_t/int warning re #8404

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>