add a couple of consts

This commit is contained in:
ehouse 2009-10-01 04:09:46 +00:00
parent 451315f2c4
commit 1fba7d7ef6
2 changed files with 2 additions and 2 deletions

View file

@ -331,7 +331,7 @@ mem_stream_close( XWStreamCtxt* p_sctx )
} /* mem_stream_close */
static XP_U16
mem_stream_getSize( XWStreamCtxt* p_sctx )
mem_stream_getSize( const XWStreamCtxt* p_sctx )
{
MemStreamCtxt* stream = (MemStreamCtxt*)p_sctx;
XP_U16 size = stream->nBytesWritten - stream->curReadPos;

View file

@ -68,7 +68,7 @@ typedef struct StreamCtxVTable {
void (*m_stream_open)( XWStreamCtxt* dctx );
void (*m_stream_close)( XWStreamCtxt* dctx );
XP_U16 (*m_stream_getSize)( XWStreamCtxt* dctx );
XP_U16 (*m_stream_getSize)( const XWStreamCtxt* dctx );
/* void (*m_stream_makeReturnAddr)( XWStreamCtxt* dctx, XP_PlayerAddr* addr, */
/* XP_U16* addrLen ); */