mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
silence compiler warning
This commit is contained in:
parent
568bef7ac3
commit
4ffb4efb0c
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue