Skip to contentSkip to conversation

tools: Fix code typo

PATCH New Xin Gao 1 participant 1 message Jul 27, 2022 virtio core

lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 tools: Fix code typo

It would be better to change'unsigned'to'unsigned int'.

---
 tools/virtio/ringtest/noring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/virtio/ringtest/noring.c +1 -1
index ce2440d5ca93..3deb8413c289 100644
@@ -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;
 }
Signature · 1 line
2.30.2