Fix MSVC format conversion warnings.
authorRalph Giles <giles@mozilla.com>
Tue, 23 Oct 2012 17:49:18 +0000 (10:49 -0700)
committerRalph Giles <giles@mozilla.com>
Tue, 23 Oct 2012 17:49:18 +0000 (10:49 -0700)
commit027ec51bfef87d7e9f2c48091a66a75bcf524152
treecca9dbe5d02e67a069ff05cd243226b2c325177a
parent2572c1e788318f8d765cb9cfab88c2d9f4744167
Fix MSVC format conversion warnings.

The Microsoft compiler warns about precision reduction from
default double literals to the floats we generally use outside
the fixed-point build. Avoid these by qualifying the literals
as floats.

Thanks to derf for review.
celt/pitch.c
src/opus_encoder.c