Commit 29373eef authored by Yaowu Xu's avatar Yaowu Xu Committed by James Zern

Squash type conversion warnings in MSVC

Change-Id: I457edba98dd1ebbd212651247d6c0d1a34f780d6
parent 1fa24467
...@@ -1206,8 +1206,8 @@ static void get_energy_distribution_finer(const int16_t *diff, int stride, ...@@ -1206,8 +1206,8 @@ static void get_energy_distribution_finer(const int16_t *diff, int stride,
// row/column, when computing horizontal/vertical correlation. // row/column, when computing horizontal/vertical correlation.
static void get_horver_correlation_full(const int16_t *diff, int stride, int w, static void get_horver_correlation_full(const int16_t *diff, int stride, int w,
int h, float *hcorr, float *vcorr) { int h, float *hcorr, float *vcorr) {
const float num_hor = h * (w - 1); const float num_hor = (float)(h * (w - 1));
const float num_ver = (h - 1) * w; const float num_ver = (float)((h - 1) * w);
int i, j; int i, j;
// The following notation is used: // The following notation is used:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment