[PATCH 15/25] sockio.c: use uint32_t

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Avoid the ambiguous uint32.

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

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);
-- 
2.34.1




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux