kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
9e710156e3
commit
d5d6c55439
|
@ -676,7 +676,7 @@ int HAMLIB_API read_string(hamlib_port_t *p,
|
|||
|
||||
if (rxmax < 1)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: error rxmax=%ld\n", __func__, rxmax);
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: error rxmax=%ld\n", __func__, (long)rxmax);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1260,7 +1260,7 @@ int HAMLIB_API elapsed_ms(struct timespec *start, int flag_start)
|
|||
struct timespec stop;
|
||||
double elapsed_secs;
|
||||
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: start = %ld,%ld\n",__func__,start->tv_sec,start->tv_nsec);
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: start = %ld,%ld\n",__func__,(long)start->tv_sec,(long)start->tv_nsec);
|
||||
if (!flag_start && start->tv_nsec == 0) return 1000000;
|
||||
|
||||
if (flag_start)
|
||||
|
|
Ładowanie…
Reference in New Issue