Fix two more format warnings uncovered by MinGW build
This commit is contained in:
parent
7419638d4c
commit
0c536bcd00
|
@ -257,7 +257,7 @@ static int brymen_bm86x_send_command(const struct sr_dev_inst *sdi)
|
|||
}
|
||||
|
||||
if (ret != sizeof(buf)) {
|
||||
sr_err("Short packet: sent %d/%ld bytes.", ret, sizeof(buf));
|
||||
sr_err("Short packet: sent %d/%zu bytes.", ret, sizeof(buf));
|
||||
return SR_ERR;
|
||||
}
|
||||
|
||||
|
|
|
@ -328,7 +328,7 @@ SR_PRIV int rigol_ds_capture_start(const struct sr_dev_inst *sdi)
|
|||
if (!(devc = sdi->priv))
|
||||
return SR_ERR;
|
||||
|
||||
sr_dbg("Starting data capture for frameset %lu of %lu",
|
||||
sr_dbg("Starting data capture for frameset %" PRIu64 " of %" PRIu64,
|
||||
devc->num_frames + 1, devc->limit_frames);
|
||||
|
||||
switch (devc->model->series->protocol) {
|
||||
|
|
Loading…
Reference in New Issue