fix some implicit type conversion warnings

Change-Id: I0653d10410c0d46f91fedad4c4dffa9c1de402cb
This commit is contained in:
James Zern
2012-06-04 18:36:02 -07:00
parent 8fbb91884e
commit 42f6df9da3
3 changed files with 10 additions and 10 deletions

View File

@ -86,7 +86,7 @@ static int EncodeLossless(const uint8_t* data, int width, int height,
config.method = effort_level; // impact is very small
// quality below 50 doesn't change things much (in speed and size).
// quality above 80 can be very very slow.
config.quality = 40 + 10 * effort_level;
config.quality = 40 + 10.f * effort_level;
VP8LBitWriterInit(&tmp_bw, (width * height) >> 3);
ok = (VP8LEncodeStream(&config, &picture, &tmp_bw) == VP8_ENC_OK);