beaglelogic: Fix compiler warnings in beaglelogic_tcp.c

Signed-off-by: Kumar Abhishek <abhishek@theembeddedkitchen.net>
This commit is contained in:
Kumar Abhishek 2017-09-23 12:30:33 +05:30 committed by Uwe Hermann
parent a486fca9e2
commit f154b40ddd
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ static int beaglelogic_tcp_send_cmd(struct dev_context *devc,
} }
if (out < (int)strlen(buf)) { 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); strlen(buf), buf);
} }
@ -366,7 +366,7 @@ static int beaglelogic_set_bufunitsize(struct dev_context *devc) {
} }
static int dummy(struct dev_context *devc) { static int dummy(struct dev_context *devc) {
(devc); (void)devc;
return SR_ERR_NA; return SR_ERR_NA;
} }