git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5673
d7cf8633-e32d-0410-b094-
e92efae38249
FS_StripExtension(loadmodel->name, animname, sizeof(animname));
strlcat(animname, ".psa", sizeof(animname));
animbuffer = animfilebuffer = FS_LoadFile(animname, loadmodel->mempool, false);
- animbufferend = animbuffer + fs_filesize;
+ animbufferend = (void *)((unsigned char*)animbuffer + fs_filesize);
if (animbuffer == NULL)
Host_Error("%s: can't find .psa file (%s)\n", loadmodel->name, animname);