diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-10-27 21:50:26 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-10-27 21:50:26 +0300 |
commit | 3266e1045650b8f3855a4978c0fd438da056ce31 (patch) | |
tree | 3685e15b6a49218963daeee6afcbe5fed33a92d2 /source/blender/editors/transform/transform_conversions.c | |
parent | 9b7f3133e6a7f5ccc76afe4ce8af183af5a0998e (diff) |
Proper cast to silence warning and comment to explain WTH is happening here.
Diffstat (limited to 'source/blender/editors/transform/transform_conversions.c')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 06a7461618c..8d04b2497fc 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -4092,7 +4092,8 @@ static void freeSeqData(TransInfo *t) for(a=0; a<t->total; a++, td++) { seq= ((TransDataSeq *)td->extra)->seq; if ((seq != seq_prev)) { - seq->tmp= 1; // XXX what's the intention here? this currently gives a compiler warning + /* Tag seq with a non zero value, used by shuffle_seq_time to identify the ones to shuffle */ + seq->tmp= (void*)1; } } |