]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix another C++ compile error
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Feb 2013 12:06:40 +0000 (12:06 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Feb 2013 12:06:40 +0000 (12:06 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11891 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index f0937df38696318cf6021c8df6f85b480dab913c..de09ae9dcb90462ff20db8041a6fdb94e4982f96 100644 (file)
@@ -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;