size_t or unsigned int are preferred for variables that describe the length of an array. This change fixes an additional MSVC build issue caused by test_scheduled_retune.