diff --git a/net/rpmsg/rpmsg_sockif.c b/net/rpmsg/rpmsg_sockif.c index b6bd3b9376235..822fb74f37226 100644 --- a/net/rpmsg/rpmsg_sockif.c +++ b/net/rpmsg/rpmsg_sockif.c @@ -376,7 +376,7 @@ static int rpmsg_socket_ept_cb(FAR struct rpmsg_endpoint *ept, written = circbuf_write(&conn->recvbuf, buf, len); if (written != len) { - nerr("circbuf_write overflow, %d, %d\n", written, len); + nerr("circbuf_write overflow, %zu, %zu\n", written, len); } rpmsg_socket_pollnotify(conn, POLLIN);