1 --- src/drmrx/demodulator.cpp.orig 2014-04-10 14:48:35.000000000 -0700
2 +++ src/drmrx/demodulator.cpp 2014-04-10 14:49:48.000000000 -0700
4 temp2 += actual_pilots[2 * j] * next_pilots[2 * j + 1] -actual_pilots[2 * j + 1] * next_pilots[2 * j];
7 - if (i != 0) delta_freq_offset = (float) atan2(temp2, temp1 + MIN_ABS_H);
8 + if (i != 0) delta_freq_offset = (float) atan2(temp2, (float)(temp1 + MIN_ABS_H));
10 for (j = 0; j < K_max - K_min + 1; j++)