cast to char * from unsigned char *

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@252 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2007-06-13 03:44:09 +00:00
parent cb5ed64400
commit deba84fe3b
1 changed files with 4 additions and 4 deletions

View File

@ -95,10 +95,10 @@ static L3INT zap_isdn_931_34(void *pvt, L2UCHAR *msg, L2INT mlen)
memset(&zchan->caller_data, 0, sizeof(zchan->caller_data));
zap_copy_string(zchan->caller_data.cid_num, callingnum->Digit, callingnum->Size - 3);
zap_copy_string(zchan->caller_data.cid_name, callingnum->Digit, callingnum->Size - 3);
zap_copy_string(zchan->caller_data.ani, callingnum->Digit, callingnum->Size - 3);
zap_copy_string(zchan->caller_data.dnis, callednum->Digit, callednum->Size - 3);
zap_copy_string(zchan->caller_data.cid_num, (char *)callingnum->Digit, callingnum->Size - 3);
zap_copy_string(zchan->caller_data.cid_name, (char *)callingnum->Digit, callingnum->Size - 3);
zap_copy_string(zchan->caller_data.ani, (char *)callingnum->Digit, callingnum->Size - 3);
zap_copy_string(zchan->caller_data.dnis, (char *)callednum->Digit, callednum->Size - 3);
zchan->caller_data.CRV = gen->CRV;
if (cplen > sizeof(zchan->caller_data.raw_data)) {