[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH hurd 02/11] Cast bootinfo to struct diskfs_control * to silence w
From: |
Flavio Cruz |
Subject: |
[PATCH hurd 02/11] Cast bootinfo to struct diskfs_control * to silence warning |
Date: |
Fri, 29 Dec 2023 16:20:56 -0500 |
---
libdiskfs/boot-start.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index e8c09bc..8c159f3 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -464,7 +464,7 @@ diskfs_S_fsys_getpriv (struct diskfs_control
*init_bootstrap_port,
error_t err;
if (!init_bootstrap_port
- || init_bootstrap_port != bootinfo)
+ || init_bootstrap_port != (struct diskfs_control *) bootinfo)
return EOPNOTSUPP;
err = get_privileged_ports (host_priv, dev_master);
--
2.39.2
- [PATCH hurd 01/11] Initialize a few error variables to avoid GCC warnings, Flavio Cruz, 2023/12/29
- [PATCH hurd 02/11] Cast bootinfo to struct diskfs_control * to silence warning,
Flavio Cruz <=
- [PATCH hurd 04/11] Fix printf format specifiers, Flavio Cruz, 2023/12/29
- [PATCH hurd 07/11] Fix a few pointer related warnings., Flavio Cruz, 2023/12/29
- [PATCH hurd 05/11] x86_64: utmp uses int32_t to store time so use a temporary variable, Flavio Cruz, 2023/12/29
- [PATCH hurd 03/11] Use mach_msg_type_number_t whenever required to avoid warnings, Flavio Cruz, 2023/12/29
- [PATCH hurd 06/11] x86_64: use 21 bytes in libps since %z might require more characters., Flavio Cruz, 2023/12/29