mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
sys/dev/cxgb/cxgb_sge.c:2873:44: error: implicit conversion from 'int'
to 'char' changes value from 128 to -128 [-Werror,-Wconstant-conversion]
*mtod(m, char *) = CPL_ASYNC_NOTIF;
~ ^~~~~~~~~~~~~~~
This is because CPL_ASYNC_NOTIF is 0x80, so the plain char argument is
wrapped to a negative value. Fix this by using uint8_t instead.
Reviewed by: np
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D7772
|
||
|---|---|---|
| .. | ||
| common | ||
| sys | ||
| ulp | ||
| bin2h.pl | ||
| cxgb_adapter.h | ||
| cxgb_include.h | ||
| cxgb_ioctl.h | ||
| cxgb_main.c | ||
| cxgb_offload.h | ||
| cxgb_osdep.h | ||
| cxgb_sge.c | ||
| cxgb_t3fw.c | ||
| cxgb_t3fw.h | ||
| t3b_protocol_sram.h | ||
| t3b_tp_eeprom.h | ||
| t3c_protocol_sram.h | ||
| t3c_tp_eeprom.h | ||