fix warning sizet int. re #10689
Merge branch 'feature/10689_tofsansresolution' into develop