Skip to content

Commit

Permalink
Fix some printf problems for mingw64
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Mar 1, 2024
1 parent 12404aa commit bb9b1f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/event.c
Expand Up @@ -614,8 +614,9 @@ int rig_fire_freq_event(RIG *rig, vfo_t vfo, freq_t freq)
{
ENTERFUNC;

rig_debug(RIG_DEBUG_TRACE, "Event: freq changed to %"PRIll"Hz on %s\n",
(int64_t)freq, rig_strvfo(vfo));
double dfreq = freq;
rig_debug(RIG_DEBUG_TRACE, "Event: freq changed to %.0f Hz on %s\n",
dfreq, rig_strvfo(vfo));

rig_set_cache_freq(rig, vfo, freq);

Expand Down
2 changes: 0 additions & 2 deletions src/misc.c
Expand Up @@ -2682,8 +2682,6 @@ uint64_t HAMLIB_API rig_get_caps_int(rig_model_t rig_model,
return caps->port_type;

case RIG_CAPS_HAS_GET_LEVEL:
rig_debug(RIG_DEBUG_TRACE, "%s(%d): return %08"PRIll"\n", __func__, __LINE__,
caps->has_get_level);
return caps->has_get_level;

default:
Expand Down

0 comments on commit bb9b1f1

Please sign in to comment.