Posting this here for reference, I see it appearing in my compiler output
Code:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/wiring.h:128:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(_amt < _low) ? _low : ((_amt > _high) ? _high : _amt); \
EDIT: it dissapeared now, I added the UL suffix to constrain to the constructor value inputs
Code:
settings = SPISettings(((constrain(_mhz, 4000000UL, 20000000UL) != _mhz) ? 8000000UL : _mhz), MSBFIRST, SPI_MODE0);