Compiles w/o warnings with gcc

FossilOrigin-Name: 8aeb5208592d4c31a07b3eba10aa247483f9648fbaba38eb844cb02e074f31b9
This commit is contained in:
7u83@mail.ru
2018-03-25 08:35:53 +00:00
parent 847781bf7c
commit f136a0f401
16 changed files with 60 additions and 55 deletions

View File

@ -58,8 +58,8 @@ int lw_put_elem_hdr(uint8_t *dst,uint8_t type,uint16_t len)
int lw_put_vendor(uint8_t * dst, uint32_t vendorid,
uint16_t elemid, uint16_t len)
{
lw_put_dword(dst + 0, vendorid);
lw_put_word(dst + 4, elemid);
lw_set_dword(dst + 0, vendorid);
lw_set_word(dst + 4, elemid);
return 6;
}