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:
Matthew Fredrickson 2005-07-13 14:09:16 +00:00
parent badbe8cf1f
commit bbd1d88f70

View File

@ -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;