From 509778c6af500462983f8f5e52852371076f0356 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 7 Feb 2013 12:06:40 +0000 Subject: [PATCH] fix another C++ compile error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11891 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2