Skip to content

Commit

Permalink
Merge pull request #1497 from kamailio/vseva/fix_cdp
Browse files Browse the repository at this point in the history
cdp: fix compilation warning
  • Loading branch information
ngvoice committed Apr 12, 2018
2 parents b472fd8 + c43f099 commit aae5fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/cdp/diameter.h
Expand Up @@ -74,7 +74,7 @@

#define set_4bytes(_b,_v) \
{(_b)[0]=((_v)&0xff000000)>>24;(_b)[1]=((_v)&0x00ff0000)>>16;\
(_b)[2]=((_v)&0x0000ff00)>>8;(_b)[3]=((_v)&0x000000ff);}
(_b)[2]=((_v)&0x0000ff00)>>8;(_b)[3]=(unsigned char)((_v)&0x000000ff);}

#define to_32x_len( _len_ ) \
( (_len_)+(((_len_)&3)?4-((_len_)&3):0) )
Expand Down

0 comments on commit aae5fee

Please sign in to comment.