Fixed warning C4018 <,> signed/unsigned mismatch