Make printf mingw portable in rs_hfiq.c

1668fd7954
pull/769/head
Mike Black W9MDB 2021-08-05 08:38:58 -05:00
rodzic fa4302ceaa
commit e57774cfde
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -35,6 +35,7 @@
#include "hamlib/rig.h" #include "hamlib/rig.h"
#include "serial.h" #include "serial.h"
#include "misc.h"
#define RSHFIQ_INIT_RETRY 5 #define RSHFIQ_INIT_RETRY 5
@ -226,7 +227,7 @@ static int rshfiq_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
static int rshfiq_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) static int rshfiq_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
{ {
rig_debug(RIG_DEBUG_VERBOSE, "%s called. level type =%lu\n", __func__, level); rig_debug(RIG_DEBUG_VERBOSE, "%s called. level type =%"PRIll"\n", __func__, level);
char cmdstr[15]; char cmdstr[15];
char stopset[2]; char stopset[2];
@ -320,7 +321,7 @@ static int rshfiq_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
break; break;
break; break;
default: default:
rig_debug(RIG_DEBUG_VERBOSE, "%s: Unrecognized RIG_LEVEL_* enum: %lu\n", __func__, level); rig_debug(RIG_DEBUG_VERBOSE, "%s: Unrecognized RIG_LEVEL_* enum: %"PRIll"\n", __func__, level);
return -RIG_EDOM; return -RIG_EDOM;
break; break;
} }