Fix for gcc-4.0
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@241 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
badbe8cf1f
commit
bbd1d88f70
@ -240,7 +240,7 @@ int asn1_copy_string(char * buf, int buflen, struct rose_component *comp)
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (comp->len == ASN1_LEN_INDEF) {
|
if (comp->len == ASN1_LEN_INDEF) {
|
||||||
datalen = strlen(comp->data);
|
datalen = strlen((char*)comp->data);
|
||||||
res = datalen + 2;
|
res = datalen + 2;
|
||||||
} else
|
} else
|
||||||
res = datalen = comp->len;
|
res = datalen = comp->len;
|
||||||
|
Loading…
Reference in New Issue
Block a user