Squash type conversion warnings in MSVC
Change-Id: I457edba98dd1ebbd212651247d6c0d1a34f780d6
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index 0e2e31e..12b13f7 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -1206,8 +1206,8 @@
// row/column, when computing horizontal/vertical correlation.
static void get_horver_correlation_full(const int16_t *diff, int stride, int w,
int h, float *hcorr, float *vcorr) {
- const float num_hor = h * (w - 1);
- const float num_ver = (h - 1) * w;
+ const float num_hor = (float)(h * (w - 1));
+ const float num_ver = (float)((h - 1) * w);
int i, j;
// The following notation is used: