Commit fc4585b5 authored by Yaowu Xu's avatar Yaowu Xu

Initialize int variables to 0 instead of 0.0

fixes a couple of type conversion warnings for msvc2015

Change-Id: I004f072661c981e204bd62b2740201658ad67294
parent 42350322
......@@ -28,8 +28,8 @@
centered at (x, y).
*/
static double compute_variance(unsigned char *im, int stride, int x, int y) {
int sum = 0.0;
int sumsq = 0.0;
int sum = 0;
int sumsq = 0;
int var;
int i, j;
for (i = 0; i < MATCH_SZ; ++i)
......
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