Explicitly cast variables to silence Windows build warnings

This commit is contained in:
Dominic Spill
2018-03-27 14:11:51 -06:00
parent d4d74db27c
commit e384a2d2b7
2 changed files with 3 additions and 3 deletions

View File

@@ -748,7 +748,7 @@ int main(int argc, char** argv) {
freq_hz = if_freq_hz;
break;
case RF_PATH_FILTER_LOW_PASS:
freq_hz = labs((long int) if_freq_hz - lo_freq_hz);
freq_hz = (int64_t) labs(if_freq_hz - lo_freq_hz);
break;
case RF_PATH_FILTER_HIGH_PASS:
freq_hz = if_freq_hz + lo_freq_hz;