View Revisions: Issue #70

Summary 0000070: Wrong loop in P_SetRenderSector
Revision 2017-01-18 06:22 by Edward-san
Additional Information Noticed because GCC reported this in Release mode:


/home/edward-san/zdoom/gzdoom/trunk/src/p_glnodes.cpp: In function ‘void P_SetRenderSector()’:
/home/edward-san/zdoom/gzdoom/trunk/src/p_glnodes.cpp:1441:16: warning: assuming signed overflow does 
not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
  for (i = 0; i < numsegs; i++)
              ~~^~~~~~~~~
Revision 2017-01-18 06:20 by Edward-san
Additional Information