2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

ref_soft: fix pointer-to-int casts

This commit is contained in:
Alibek Omarov 2021-07-20 16:03:35 +03:00
parent 0efc5e82ec
commit 588dede2a2

View File

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