0x000000000085e028 in Tape (this=0xcb70970, hud=0xc835e50, n=0xcb75420, x=320, y=240) at src/Instrumentation/HUD/HUD_tape.cxx:67 67 _odd_type = int(floorf(_input.max() + 0.5)) & 1 ? true : false; (gdb) p _input._max $8 = 3.40282347e+38
Something along the lines of: _odd_type = _input.max() < SGLimits<int>::max() && (int(floorf(_input.max() + 0.5)) & 1) ? true : false; would fix the overflow, but what exactly is this supposed to do? Also, can the maximum be negative and possibly under SGLimits<int>::min()? -- Csaba/Jester ------------------------------------------------------------------------------ _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

