diff mbox series

[15/25] sockio.c: use uint32_t

Message ID 20220209222610.438470-16-mcgrof@kernel.org (mailing list archive)
State New, archived
Headers show
Series dbench: fix compile warnings and update a bit | expand

Commit Message

Luis Chamberlain Feb. 9, 2022, 10:26 p.m. UTC
Avoid the ambiguous uint32.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
---
 sockio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sockio.c b/sockio.c
index 6eb9e0f..f64cfc7 100644
--- a/sockio.c
+++ b/sockio.c
@@ -29,7 +29,7 @@  struct sockio {
 static void do_packets(struct child_struct *child, int send_size, int recv_size)
 {
 	struct sockio *sockio = (struct sockio *)child->private;
-	uint32 *ubuf = (uint32 *)sockio->buf;
+	uint32_t *ubuf = (uint32_t *)sockio->buf;
 
 	ubuf[0] = htonl(send_size-4);
 	ubuf[1] = htonl(recv_size-4);