From: havoc Date: Thu, 7 Feb 2013 12:06:40 +0000 (+0000) Subject: fix another C++ compile error X-Git-Tag: xonotic-v0.8.0~96^2~148 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=509778c6af500462983f8f5e52852371076f0356;p=xonotic%2Fdarkplaces.git fix another C++ compile error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11891 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index f0937df3..de09ae9d 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -4635,7 +4635,7 @@ qboolean R_AnimCache_GetEntity(entity_render_t *ent, qboolean wantnormals, qbool float *boneposerelative; float m[12]; static float bonepose[256][12]; - ent->animcache_skeletaltransform3x4 = R_FrameData_Alloc(sizeof(float[3][4]) * model->num_bones); + ent->animcache_skeletaltransform3x4 = (float *)R_FrameData_Alloc(sizeof(float[3][4]) * model->num_bones); boneposerelative = ent->animcache_skeletaltransform3x4; if (skeleton && !skeleton->relativetransforms) skeleton = NULL;