Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-11 16:00:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-11 16:00:08 +0400
commit094c9799f9926ae37515a1fe0380403ce3298a77 (patch)
tree780f06d65010a80ae7d3c67000af00db89d11a32 /source/blender/editors/armature/reeb.c
parenteb7bccb39a639683275ed0b80b927cd5eb8264fa (diff)
quiet -Wdouble-promotion warnings
Diffstat (limited to 'source/blender/editors/armature/reeb.c')
-rw-r--r--source/blender/editors/armature/reeb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/reeb.c b/source/blender/editors/armature/reeb.c
index ce4092b2b84..6a43564e5f1 100644
--- a/source/blender/editors/armature/reeb.c
+++ b/source/blender/editors/armature/reeb.c
@@ -545,12 +545,12 @@ static void verifyBucketsArc(ReebGraph *UNUSED(rg), ReebArc *arc)
}
}
- if (ceil(head->weight) != arc->buckets[0].val)
+ if (ceilf(head->weight) != arc->buckets[0].val)
{
printArc(arc);
printf("alloc error in first bucket: %f should be %f \n", arc->buckets[0].val, ceil(head->weight));
}
- if (floor(tail->weight) != arc->buckets[arc->bcount - 1].val)
+ if (floorf(tail->weight) != arc->buckets[arc->bcount - 1].val)
{
printArc(arc);
printf("alloc error in last bucket: %f should be %f \n", arc->buckets[arc->bcount - 1].val, floor(tail->weight));