beaglelogic: Fix a compiler warning.
beaglelogic_tcp.c: In function 'beaglelogic_tcp_send_cmd': beaglelogic_tcp.c:114:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] sr_dbg("Only sent %d/%lu bytes of command: '%s'.", out, ^
This commit is contained in:
parent
93b5cd6919
commit
3347fe26a0
|
@ -112,7 +112,7 @@ static int beaglelogic_tcp_send_cmd(struct dev_context *devc,
|
|||
}
|
||||
|
||||
if (out < (int)strlen(buf)) {
|
||||
sr_dbg("Only sent %d/%lu bytes of command: '%s'.", out,
|
||||
sr_dbg("Only sent %d/%zu bytes of command: '%s'.", out,
|
||||
strlen(buf), buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue