fixed compiler warning that (may) got introduced with a path in 3.13.X due to a variable type change