Fixed checksum calculation in writing header
commit7611cc65f45aef9aad3d8756396caf017607bedf
authorTim Band <t@n>
Mon, 23 Jul 2012 18:40:40 +0000 (23 19:40 +0100)
committerChris Frey <cdfrey@foursquare.net>
Tue, 24 Jul 2012 20:51:42 +0000 (24 16:51 -0400)
treed77644cc68a93e322c0417103850c0434e02a4e0
parent063f8f6f0b72f8b42cd2bdda25ac577a1225c06f
Fixed checksum calculation in writing header

Calculation used signed char instead of unsigned char.
Fixed it by calling the same routine used in reading and checking.
lib/encode.c