提交 b2e3b6e9 编写于 作者: M malc

Use proper format conversion specifier when printing size_t value

And untabify this while we are at it.
Signed-off-by: Nmalc <av1474@comtv.ru>
上级 057fa65c
......@@ -583,9 +583,9 @@ static int usb_host_handle_control(USBHostDevice *s, USBPacket *p)
buffer_len = 8 + s->ctrl.len;
if (buffer_len > sizeof(s->ctrl.buffer)) {
fprintf(stderr, "husb: ctrl buffer too small (%u > %lu)\n",
buffer_len, sizeof(s->ctrl.buffer));
return USB_RET_STALL;
fprintf(stderr, "husb: ctrl buffer too small (%u > %zu)\n",
buffer_len, sizeof(s->ctrl.buffer));
return USB_RET_STALL;
}
aurb = async_alloc();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册