mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
don't cast.
This commit is contained in:
parent
96cfd7c7dd
commit
9f6114fb9e
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ stringFromStreamHere( XWStreamCtxt* stream, XP_UCHAR* buf, XP_U16 buflen )
|
|||
void
|
||||
stringToStream( XWStreamCtxt* stream, const XP_UCHAR* str )
|
||||
{
|
||||
XP_U16 len = str==NULL? 0: XP_STRLEN( (const char*)str );
|
||||
XP_U16 len = str==NULL? 0: XP_STRLEN( str );
|
||||
XP_ASSERT( len < 0xFF );
|
||||
stream_putU8( stream, (XP_U8)len );
|
||||
stream_putBytes( stream, str, len );
|
||||
|
|
Loading…
Reference in a new issue