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-04-02 06:08:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-02 06:08:33 +0400
commit69bd72c3b6aa1fdaab0c1232a6ba1e3e4c9029fa (patch)
treebba65f8473ee4c3c2b6650f567964955b8611940 /source/blender/blenkernel/intern/sound.c
parentfb994b3c857bdf3a7313da046580c0fb76e8b620 (diff)
quiet gcc float -> double promotion warnings.
Diffstat (limited to 'source/blender/blenkernel/intern/sound.c')
-rw-r--r--source/blender/blenkernel/intern/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index cfc98b4a67d..52e1faaabee 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -329,7 +329,7 @@ static float sound_get_volume(Scene* scene, Sequence* sequence, float time)
fcu= list_find_fcurve(&adt->action->curves, buf, 0);
if(fcu)
- return evaluate_fcurve(fcu, time * FPS);
+ return evaluate_fcurve(fcu, time * (float)FPS);
else
return sequence->volume;
}