missing include for strlen proto
fix some signed/unsigned mismatch
fix signed/unsigned mismatch
fix signed/unsigned mismatch warning
more signed/unsigned mismatch fix
fix signed/unsigned mismatch warning
fix several datatype mismatch warnings