From 6c58a7b7d8301ff50488bdc93af61a060b5c449e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sun, 8 Feb 2004 17:41:52 +0000 Subject: [PATCH] freq_t casting git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1672 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- flexradio/sdr1k.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flexradio/sdr1k.c b/flexradio/sdr1k.c index 466966ea7..cac8e3bcb 100644 --- a/flexradio/sdr1k.c +++ b/flexradio/sdr1k.c @@ -1,8 +1,8 @@ /* * Hamlib Rotator backend - SDR-1000 - * Copyright (c) 2003 by Stephane Fillod + * Copyright (c) 2003-2004 by Stephane Fillod * - * $Id: sdr1k.c,v 1.4 2003-11-16 17:22:06 fillods Exp $ + * $Id: sdr1k.c,v 1.5 2004-02-08 17:41:52 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -275,7 +275,7 @@ static int set_band(RIG *rig, freq_t freq) ret = write_latch (rig, L_BAND, 1 << band, 0x3f); - rig_debug(RIG_DEBUG_VERBOSE, "%s %lld band %d\n", __FUNCTION__, freq, band); + rig_debug(RIG_DEBUG_VERBOSE, "%s %lld band %d\n", __FUNCTION__, (long long)freq, band); return ret; } @@ -309,7 +309,7 @@ int sdr1k_set_freq(RIG *rig, vfo_t vfo, freq_t freq) else frqval = freq; - rig_debug(RIG_DEBUG_VERBOSE, "%s curr %lld frqval %lld\n", __FUNCTION__, freq, frqval); + rig_debug(RIG_DEBUG_VERBOSE, "%s curr %lld frqval %lld\n", __FUNCTION__, (long long)freq, (long long)frqval); if (priv->dds_freq == frqval) { return RIG_OK; @@ -346,7 +346,7 @@ int sdr1k_get_freq(RIG *rig, vfo_t vfo, freq_t *freq) struct sdr1k_priv_data *priv = (struct sdr1k_priv_data *)rig->state.priv; *freq = priv->dds_freq; - rig_debug(RIG_DEBUG_TRACE,"%s: %lld\n", __FUNCTION__, priv->dds_freq); + rig_debug(RIG_DEBUG_TRACE,"%s: %lld\n", __FUNCTION__, (long long)priv->dds_freq); return RIG_OK; }