diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-27 15:18:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-27 15:18:54 +0400 |
commit | 9fc95bd7ee2aed9d4de7c3c05dfef6597b83a332 (patch) | |
tree | a93569a6068e176cd68d859e880a3124da37d7dd /source/blender/editors/space_clip/tracking_ops.c | |
parent | ec67334e25b92c60f97978ef1bf754b4ba55127e (diff) |
use min/max inline functions where MIN2/MAX2 were doing type conversion.
Diffstat (limited to 'source/blender/editors/space_clip/tracking_ops.c')
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index f98acf8097d..f4ad5eee61e 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -1018,7 +1018,7 @@ static void track_init_markers(SpaceClip *sc, MovieClip *clip, int *frames_limit if (frames_limit == 0) frames_limit = track->frames_limit; else - frames_limit = MIN2(frames_limit, track->frames_limit); + frames_limit = min_ii(frames_limit, (int)track->frames_limit); } } } |