- Made CodesToHeader's 'numCodes' unsigned for the same reason. - Removed some type-casts from other functions.