Fixing a compiler warning, fdi2raw.c (Linux)
Posted: Fri 04 May, 2018 7:32 pm
Depending on your compiler (here: gcc with Linux) you might receive four similar warnings (compiling fdi2raw.c)
Attachment (patch against PCem v14) fixes the warnings.
Code: Select all
fdi2raw.c:1631:25: warning: integer overflow in expression [-Woverflow]
if (randval <= (3 * RAND_MAX / 8))