ref_gl: fix msvc build

This commit is contained in:
Alibek Omarov 2019-05-23 22:10:35 +03:00 committed by GitHub
parent 45b091028b
commit fe464af3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ static const dframetype_t *R_SpriteLoadFrame( model_t *mod, const void *pin, msp
pspriteframe->gl_texturenum = gl_texturenum;
*ppframe = pspriteframe;
return ( pin + sizeof(dspriteframe_t) + pinframe.width * pinframe.height * bytes );
return ( (const byte*)pin + sizeof(dspriteframe_t) + pinframe.width * pinframe.height * bytes );
}
/*