diff options
Diffstat (limited to 'source/sw_edge.c')
-rw-r--r-- | source/sw_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sw_edge.c b/source/sw_edge.c index c53df44..cdb31b7 100644 --- a/source/sw_edge.c +++ b/source/sw_edge.c @@ -1046,7 +1046,7 @@ void D_DrawflatSurfaces (void) // make a stable color for each surface by taking the low // bits of the msurface pointer - D_FlatFillSurface (s, (uint32_t)s->msurf); + D_FlatFillSurface (s, (uint32_t)((intptr_t)s->msurf)); D_DrawZSpans (s->spans); } } |