Fix to make compile on Mac.
git-svn-id: svn://10.0.0.236/trunk@69434 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -62,13 +62,14 @@ CMT_CopyDataToItem(const unsigned char *data, CMUint32 len)
|
||||
{
|
||||
CMTItem item;
|
||||
|
||||
item.data = calloc(len, 1);
|
||||
item.data = (unsigned char*) calloc(len, 1);
|
||||
item.len = len;
|
||||
memcpy(item.data, data, len);
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
|
||||
static CMTStatus
|
||||
tmp_SendMessage(PCMT_CONTROL control, CMTItem *message)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user