mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 16:48:36 -05:00
sys/dev/dpt/dpt_scsi.c:612:18: error: implicit truncation from 'int' to bitfield changes value from -2 to 2 [-Werror,-Wconstant-conversion]
dpt->cache_type = DPT_CACHE_WRITEBACK;
^ ~~~~~~~~~~~~~~~~~~~
by defining DPT_CACHE_WRITEBACK as 2, since dpt_softc::cache_type is an
unsigned bitfield. No binary change.
MFC after: 1 week
|
||
|---|---|---|
| .. | ||
| dpt.h | ||
| dpt_eisa.c | ||
| dpt_isa.c | ||
| dpt_pci.c | ||
| dpt_scsi.c | ||