Cater for 32bit architecture where size_t is unsigned int.
Using long unsigned int breaks compilation on 32bit architectures for no reason
Compile errors fixed on 32bit are:
(Error message removed, because it disturbs the CI system in MR pipelines)
Edited by Carsten Gräser