CC (clang) [M cdp.so] authstatemachine.o
authstatemachine.c:748:3: warning: implicit conversion from 'int' to 'char' changes value from 209 to -47 [-Wconstant-conversion]
set_4bytes(x, AAA_SUCCESS);
^~~~~~~~~~~~~~~~~~~~~~~~~~
./diameter.h:77:44: note: expanded from macro 'set_4bytes'
(_b)[2]=((_v)&0x0000ff00)>>8;(_b)[3]=((_v)&0x000000ff);}
~ ^
authstatemachine.c:758:3: warning: implicit conversion from 'int' to 'char' changes value from 209 to -47 [-Wconstant-conversion]
set_4bytes(x, AAA_SUCCESS);
^~~~~~~~~~~~~~~~~~~~~~~~~~
./diameter.h:77:44: note: expanded from macro 'set_4bytes'
(_b)[2]=((_v)&0x0000ff00)>>8;(_b)[3]=((_v)&0x000000ff);}
~ ^

ocs_avp_helper.c:329:3: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion]
set_4bytes(x, 86400);
^~~~~~~~~~~~~~~~~~~~
./../cdp/diameter.h:77:44: note: expanded from macro 'set_4bytes'
(_b)[2]=((_v)&0x0000ff00)>>8;(_b)[3]=((_v)&0x000000ff);}
~ ^


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1497

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.