git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8468
d7cf8633-e32d-0410-b094-
e92efae38249
if(startoffset < *filesize)
++startoffset;
- FS_Write(cls.demofile, *buf + startoffset, *filesize - startoffset);
+ FS_Write(cls.demofile, (char*)*buf + startoffset, *filesize - startoffset);
Mem_Free(*buf);
*buf = NULL;
SCR_InfoBar_f
==============
*/
-void SCR_InfoBar_f()
+void SCR_InfoBar_f(void)
{
if(Cmd_Argc() == 3)
{
MSG_WriteByte(buf, svc_downloaddata);
MSG_WriteLong(buf, thispacketoffset);
MSG_WriteShort(buf, thispacketsize);
- SZ_Write(buf, data + thispacketoffset, thispacketsize);
+ SZ_Write(buf, (char*)data + thispacketoffset, thispacketsize);
return true;
}