int64 => uint8

This commit is contained in:
2024-06-05 19:26:25 +02:00
parent 162d141b34
commit 422c5d5b7f
5 changed files with 41 additions and 44 deletions

View File

@@ -120,7 +120,7 @@ func removeWhitespace(input string) string {
}
// Store a grid to an RLE file
func StoreGridToRLE(grid [][]int64, filename, rule string, width, height int) error {
func StoreGridToRLE(grid [][]uint8, filename, rule string, width, height int) error {
fd, err := os.Create(filename)
if err != nil {
return err