From eed8d7811d1f74caaba5238d93d69dc594ddabf8 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Sun, 1 Dec 2019 07:06:01 -0600 Subject: [PATCH] Fix compile wanring in ft900.c --- yaesu/ft900.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yaesu/ft900.c b/yaesu/ft900.c index d2b0bd2e1..c08693398 100644 --- a/yaesu/ft900.c +++ b/yaesu/ft900.c @@ -1908,8 +1908,8 @@ static int ft900_send_rit_freq(RIG *rig, unsigned char ci, shortfreq_t rit) to_bcd(priv->p_cmd, rit / 10, FT900_BCD_RIT); rig_debug(RIG_DEBUG_TRACE, - "%s: requested rit after conversion = %li Hz\n", - __func__, (int64_t)from_bcd(priv->p_cmd, FT900_BCD_RIT) * 10); + "%s: requested rit after conversion = %ld Hz\n", + __func__, (long)from_bcd(priv->p_cmd, FT900_BCD_RIT) * 10); priv->p_cmd[P1] = p1; /* ick */ priv->p_cmd[P2] = p2;