Fixed a warning

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2565 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-08-03 14:47:43 +00:00
parent 7f6bdae56f
commit a403097e24
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ void WriteData(netmsg_t *b, const void *data, int length)
if (b->cursize + length > b->maxsize) //urm, that's just too big. :(
return;
buf = (char*)b->data+b->cursize;
buf = (unsigned char*)b->data+b->cursize;
for (i = 0; i < length; i++)
*buf++ = ((unsigned char*)data)[i];
b->cursize+=length;