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:
dougt%netscape.com
2000-05-12 19:57:00 +00:00
parent 8cc8d8eeb5
commit e1829be2fd

View File

@@ -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)
{