diff --git a/storage/mysql/mysql.go b/storage/mysql/mysql.go index 5a31faee..457cc668 100644 --- a/storage/mysql/mysql.go +++ b/storage/mysql/mysql.go @@ -162,7 +162,7 @@ func (s *Storage) ReadTile(ctx context.Context, level, index, width uint64) ([]b } // Return nil when returning a partial tile on a full tile request. - if width == 256 && len(tile)/32 != int(width) { + if width == 256 && uint64(len(tile)/32) != width { return nil, nil }