std/tga: re-type a field from slice to roslice

This commit is contained in:
Nigel Tao committed 2023-05-06 10:03:15 +10:00
1 parent 65924cd44d
commit cac4df3bde
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -929,7 +929,7 @@ func (n *TypeExpr) HasPointers() bool {
return true
}
}
case t.IDNptr, t.IDPtr, t.IDSlice, t.IDTable:
case t.IDNptr, t.IDPtr, t.IDRoslice, t.IDRotable, t.IDSlice, t.IDTable:
return true
}
}
+1 -1
View File
@@ -308,7 +308,7 @@ pri func decoder.do_decode_frame?(dst: ptr base.pixel_buffer, src: base.io_reade
var dst_palette : slice base.u8
var dst : slice base.u8
var dst_start : base.u64
var src_palette : slice base.u8
var src_palette : roslice base.u8
var mark : base.u64
var num_pixels64 : base.u64
var num_pixels32 : base.u32[..= 0xFFFF]