It would be better to change'unsigned'to'unsigned int'.
Signed-off-by: Xin Gao <[email protected]>
---
tools/virtio/ringtest/noring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virtio/ringtest/noring.c b/tools/virtio/ringtest/noring.c
index ce2440d5ca93..3deb8413c289 100644
--- a/tools/virtio/ringtest/noring.c
+++ b/tools/virtio/ringtest/noring.c
@@ -9,7 +9,7 @@ void alloc_ring(void)
}
/* guest side */
-int add_inbuf(unsigned len, void *buf, void *datap)
+int add_inbuf(unsigned int len, void *buf, void *datap)
{
return 0;
}
--
2.30.2