stream.c:611:5: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion]
copy16(rtp_buf, len + 0, (uint16_t)0x8021);
^~~~~~~~~~
../src/minisatip.h:34:27: note: expanded from macro 'copy16'
a[i] = ((v) >> 8) & 0xFF; \
~ ~~~^~
1 warning generated.
Fixes:
stream.c:611:5: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion] copy16(rtp_buf, len + 0, (uint16_t)0x8021); ^
~~~~~~~~~ ../src/minisatip.h:34:27: note: expanded from macro 'copy16' a[i] = ((v) >> 8) & 0xFF; \ ~~~~^~1 warning generated.