int ret;
char *resp;
- beaglelogic_tcp_send_cmd(devc, "memalloc %lu", devc->buffersize);
+ beaglelogic_tcp_send_cmd(devc, "memalloc %" PRIu32, devc->buffersize);
ret = beaglelogic_tcp_get_string(devc, NULL, &resp);
if (ret == SR_OK && !g_ascii_strncasecmp(resp, "ok", 2))
ret = SR_OK;
int ret;
char *resp;
- beaglelogic_tcp_send_cmd(devc, "samplerate %lu",
+ beaglelogic_tcp_send_cmd(devc, "samplerate %" PRIu32,
(uint32_t)devc->cur_samplerate);
ret = beaglelogic_tcp_get_string(devc, NULL, &resp);
if (ret == SR_OK && !g_ascii_strncasecmp(resp, "ok", 2))
int ret;
char *resp;
- beaglelogic_tcp_send_cmd(devc, "sampleunit %lu", devc->sampleunit);
+ beaglelogic_tcp_send_cmd(devc, "sampleunit %" PRIu32, devc->sampleunit);
ret = beaglelogic_tcp_get_string(devc, NULL, &resp);
if (ret == SR_OK && !g_ascii_strncasecmp(resp, "ok", 2))
ret = SR_OK;
int ret;
char *resp;
- beaglelogic_tcp_send_cmd(devc, "triggerflags %lu", devc->triggerflags);
+ beaglelogic_tcp_send_cmd(devc, "triggerflags %" PRIu32, devc->triggerflags);
ret = beaglelogic_tcp_get_string(devc, NULL, &resp);
if (ret == SR_OK && !g_ascii_strncasecmp(resp, "ok", 2))
ret = SR_OK;
int ret;
char *resp;
- beaglelogic_tcp_send_cmd(devc, "bufunitsize %ld", devc->bufunitsize);
+ beaglelogic_tcp_send_cmd(devc, "bufunitsize %" PRIu32, devc->bufunitsize);
ret = beaglelogic_tcp_get_string(devc, NULL, &resp);
if (ret == SR_OK && !g_ascii_strncasecmp(resp, "ok", 2))
ret = SR_OK;