From ea4561a874cd21772f2e9987f3324c54eea0c8f7 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sat, 26 Sep 2009 12:15:26 +0300 Subject: [PATCH] Silenced a compilation warning. --- femonh264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/femonh264.c b/femonh264.c index df26c83..e91cfd1 100644 --- a/femonh264.c +++ b/femonh264.c @@ -528,7 +528,7 @@ int cFemonH264::parseSPS(const uint8_t *buf, int len) sar_height = s_SAR[aspect_ratio_idc].h; } if (sar_width && sar_height) { - int index = -1, ratio = 100.0L * sar_width * width / sar_height / height; + int index = -1, ratio = int(100.0L * sar_width * width / sar_height / height); for (unsigned int i = 0; i < ELEMENTS(s_DAR); ++i) { if (s_DAR[i].ratio == ratio) { index = i;