NumberOfArrays is int, so use int as counter type.

This is a small correction to the previous commit.

Change-Id: I82fcbe7446fcd105e21788f00ec645c019b3b5f1
Merge topic 'xdmfwriter-sign-warning' into master

2b07326e NumberOfArrays is int, so use int as counter type.