[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH hurd 02/11] Cast bootinfo to struct diskfs_control * to silen
From: |
Samuel Thibault |
Subject: |
Re: [PATCH hurd 02/11] Cast bootinfo to struct diskfs_control * to silence warning |
Date: |
Fri, 29 Dec 2023 22:30:21 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Flavio Cruz, le ven. 29 déc. 2023 16:20:56 -0500, a ecrit:
> ---
> 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
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
- [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, 2023/12/29
- Re: [PATCH hurd 02/11] Cast bootinfo to struct diskfs_control * to silence warning,
Samuel Thibault <=
- [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