r_bbox.c: use size_t to access column array

This commit is contained in:
James R 2022-10-26 13:53:35 -07:00
parent 8430dfa063
commit 5411d522e5

View file

@ -76,7 +76,7 @@ raster_bbox_seg
static void static void
draw_bbox_col draw_bbox_col
( struct bbox_config * bb, ( struct bbox_config * bb,
int p, size_t p,
fixed_t tx, fixed_t tx,
fixed_t ty) fixed_t ty)
{ {
@ -104,8 +104,8 @@ draw_bbox_col
static void static void
draw_bbox_row draw_bbox_row
( struct bbox_config * bb, ( struct bbox_config * bb,
int p1, size_t p1,
int p2) size_t p2)
{ {
struct bbox_col struct bbox_col
*a = &bb->col[p1], *a = &bb->col[p1],