silence compiler warning

This commit is contained in:
Eric House 2012-08-30 19:10:52 -07:00
parent 568bef7ac3
commit 4ffb4efb0c

View file

@ -294,7 +294,7 @@ parseDict( AndDictionaryCtxt* ctxt, XP_U8 const* ptr, XP_U32 dictLength,
}
if ( 1 <= headerLen ) { /* have description? */
XP_U16 len = 1 + XP_STRLEN( ptr );
XP_U16 len = 1 + XP_STRLEN( (XP_UCHAR*)ptr );
ctxt->super.desc =
(XP_UCHAR*)XP_MALLOC(ctxt->super.mpool, len);
XP_MEMCPY( ctxt->super.desc, ptr, len );