fixed signed/unsigned mismatch warning
fix signed/unsigned mismatch warnings
fixed type
redo the fix casting to size_t where applicable
redo the fix casting to size_t
redo the fix with cast to size_t
fix signed/unsigned mismatch
fix signed/unsigned mismatch
fix signed/unsigned mismatch
fix signed/unsigned mismatch