mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-05 23:15:54 +01:00
Explicitly cast variables to silence Windows build warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user