Avoid signedness warnings in sha1_file.c