diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-24 14:45:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-24 14:46:27 +0400 |
commit | 6dae643450201ae4e284e3e2ccbbb7ce297fbd2c (patch) | |
tree | e1bea1cc44ab170b0a00f3269610cb49846afd6d /source/blender | |
parent | de6a69fc793dfa3162489bd04c981b11ac3005c2 (diff) |
Correct for change in recent commit
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index e9468b2df24..755ce91a8af 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -1067,10 +1067,10 @@ void BKE_object_lod_add(Object *ob) BLI_addtail(&ob->lodlevels, lod); } -static int lod_cmp(void *a, void *b) +static int lod_cmp(const void *a, const void *b) { - LodLevel *loda = (LodLevel *)a; - LodLevel *lodb = (LodLevel *)b; + const LodLevel *loda = a; + const LodLevel *lodb = b; if (loda->distance < lodb->distance) return -1; return loda->distance > lodb->distance; |