summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/renderer/tr_model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/tr_model.c b/src/renderer/tr_model.c
index 8f992cf5..06473367 100644
--- a/src/renderer/tr_model.c
+++ b/src/renderer/tr_model.c
@@ -1161,7 +1161,7 @@ void R_GetAnimTag( mdrHeader_t *mod, int framenum, const char *tagName, md3Tag_t
// uncompressed model...
//
- frameSize = (long)( &((mdrFrame_t *)0)->bones[ mod->numBones ] );
+ frameSize = (intptr_t)( &((mdrFrame_t *)0)->bones[ mod->numBones ] );
frame = (mdrFrame_t *)((byte *)mod + mod->ofsFrames + framenum * frameSize );
for (j = 0; j < 3; j++)