correct casting of raster newline code value