Skip to contentSkip to conversation

ringtest: Variable type completion

PATCH New Xin Gao 1 participant 1 message Aug 8, 2022 virtio core

lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 ringtest: Variable type completion

'unsigned int' is better than 'unsigned'.

---
 tools/virtio/ringtest/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/virtio/ringtest/main.c +1 -1
index 5a18b2301a63..01ed3ced4533 100644
@@ -26,7 +26,7 @@ bool do_sleep = false;
 bool do_relax = false;
 bool do_exit = true;
 
-unsigned ring_size = 256;
+unsigned int ring_size = 256;
 
 static int kickfd = -1;
 static int callfd = -1;
Signature · 1 line
2.30.2