Some type casts for clang.
FossilOrigin-Name: a050a29fc6795aee5f4592347026bfb9d7999972becacf1ddcec537213b84fb8
This commit is contained in:
@ -502,9 +502,9 @@ int cw_format_item(char *dst,mbag_item_t * item)
|
||||
{
|
||||
*dst=0;
|
||||
if (item->type==MBAG_BSTR16){
|
||||
strncpy(dst,bstr16_data(item->data),bstr16_len(item->data));
|
||||
*(dst+bstr16_len(item->data))=0;
|
||||
return bstr16_len(item->data);
|
||||
strncpy(dst,(char*)bstr16_data(item->data),bstr16_len(item->data));
|
||||
*(dst+bstr16_len(item->data))=0;
|
||||
return bstr16_len(item->data);
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user