Browse Source

ref_soft: fix pointer-to-int casts

pull/2/head
Alibek Omarov 3 years ago
parent
commit
588dede2a2
  1. 2
      ref_soft/r_edge.c

2
ref_soft/r_edge.c

@ -1250,7 +1250,7 @@ void D_DrawflatSurfaces (void)
// make a stable color for each surface by taking the low // make a stable color for each surface by taking the low
// bits of the msurface pointer // bits of the msurface pointer
D_FlatFillSurface (s, (int)s->msurf & 0xFFFF); D_FlatFillSurface (s, (uintptr_t)s->msurf & 0xFFFF);
D_DrawZSpans (s->spans); D_DrawZSpans (s->spans);
} }
} }

Loading…
Cancel
Save