Quell compiler warning on MinGW

Use the PRIll macro and int64_t cast to quell the warning from the MinGW
compiler.
libusb-1-0
Nate Bargmann 2016-02-09 10:51:58 -06:00
rodzic 4abafcdd29
commit 732309e9d9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1090,7 +1090,7 @@ int kenwood_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
rig_debug(RIG_DEBUG_ERR, "%s: unsupported VFO %d\n", __func__, vfo);
return -RIG_EINVAL;
}
sprintf(freqbuf, "F%c%011lld", vfo_letter, (long long)freq);
sprintf(freqbuf, "F%c%011"PRIll, vfo_letter, (int64_t)freq);
int err = kenwood_transaction(rig, freqbuf, NULL, 0);