From 732309e9d97c7b6463e51e20410cc7dffa40a2fe Mon Sep 17 00:00:00 2001 From: Nate Bargmann Date: Tue, 9 Feb 2016 10:51:58 -0600 Subject: [PATCH] Quell compiler warning on MinGW Use the PRIll macro and int64_t cast to quell the warning from the MinGW compiler. --- kenwood/kenwood.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kenwood/kenwood.c b/kenwood/kenwood.c index 5da57f79b..2e0c7e779 100644 --- a/kenwood/kenwood.c +++ b/kenwood/kenwood.c @@ -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);