Files
nethack/sys
PatR cf9e8da56c fix issue #689 - ?: warning
From copperwater:  a recently added use of <test> ? <if> : <else>
had a ptrdiff_t (signed) expression for <if> and a size_t (unsigned)
expression for <else> which triggered a sign-compare warning when
the two expressions are implicitly converted into the same type.

Use casts to convert both expressions to long rather that convert
the size_t half to ptrdiff_t or vice versa.  The final result gets
cast to int already.

Fixes #689
2022-03-03 05:27:05 -08:00
..
2022-02-15 15:22:34 -05:00
2022-03-03 05:27:05 -08:00
2022-02-07 15:15:14 -05:00