Fix for gcc-4.0

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@241 2fbb986a-6c06-0410-b554-c9c1f0a7f128
remotes/origin/1.2
Matthew Fredrickson 19 years ago
parent badbe8cf1f
commit bbd1d88f70

@ -240,7 +240,7 @@ int asn1_copy_string(char * buf, int buflen, struct rose_component *comp)
return -1;
if (comp->len == ASN1_LEN_INDEF) {
datalen = strlen(comp->data);
datalen = strlen((char*)comp->data);
res = datalen + 2;
} else
res = datalen = comp->len;

Loading…
Cancel
Save