ref: 8c449751f43083960ece5d37e1f9cb74422230dc
parent: 2fe50ce91d3a6a3f9077e7b7ee65f1e86cd40a9b
author: Turo Lamminen <[email protected]>
date: Thu May 7 13:45:42 EDT 2020
strife: Fix clang abs warning in R_StoreWallRange
--- a/src/strife/r_segs.c
+++ b/src/strife/r_segs.c
@@ -407,7 +407,7 @@
// calculate rw_distance for scale calculation
rw_normalangle = curline->angle + ANG90;
- offsetangle = abs(rw_normalangle-rw_angle1);
+ offsetangle = abs((int) rw_normalangle - (int) rw_angle1);
if (offsetangle > ANG90)
offsetangle = ANG90;