There are build warnings with -Wformat for printing format for
size_t and ssize_t. Fix the build warnings with profer formats.
Change-Id: I82f50c8541b9bc4ffba36f01b0c84eb89e04c12b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
n = thor_rx_data(conn, &rqt, RQT_PKT_SIZE);
if (n < sizeof(rqt)) {
fprintf(stderr,
- "Failed to receive data from the host(%ld:%ld)",
+ "Failed to receive data from the host(%zd:%zu)",
n, RQT_PKT_SIZE);
return -EIO;
}