fix warning sizet int. re #10689