quiet gcc float -> double promotion warnings.

This commit is contained in:
2011-04-02 02:08:33 +00:00
parent fb994b3c85
commit 69bd72c3b6
16 changed files with 115 additions and 115 deletions

View File

@@ -2725,7 +2725,7 @@ void ntreeCompositExecTree(bNodeTree *ntree, RenderData *rd, int do_preview)
node= getExecutableNode(ntree);
if(node) {
if(ntree->progress && totnode)
ntree->progress(ntree->prh, (1.0 - curnode/(float)totnode));
ntree->progress(ntree->prh, (1.0f - curnode/(float)totnode));
if(ntree->stats_draw) {
char str[64];
sprintf(str, "Compositing %d %s", curnode, node->name);