Commit f154b40d authored by Kumar Abhishek's avatar Kumar Abhishek Committed by Uwe Hermann

beaglelogic: Fix compiler warnings in beaglelogic_tcp.c

Signed-off-by: default avatarKumar Abhishek <abhishek@theembeddedkitchen.net>
parent a486fca9
......@@ -108,7 +108,7 @@ static int beaglelogic_tcp_send_cmd(struct dev_context *devc,
}
if (out < (int)strlen(buf)) {
sr_dbg("Only sent %d/%d bytes of command: '%s'.", out,
sr_dbg("Only sent %d/%lu bytes of command: '%s'.", out,
strlen(buf), buf);
}
......@@ -366,7 +366,7 @@ static int beaglelogic_set_bufunitsize(struct dev_context *devc) {
}
static int dummy(struct dev_context *devc) {
(devc);
(void)devc;
return SR_ERR_NA;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment