Changed checksum declaration for portability