diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-12-29 16:20:56 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-12-29 22:30:15 +0100 |
commit | 1eee1e2c72bbe0c1351fdc2a0ac3e456eb2cc2ca (patch) | |
tree | 1836cb9a49dbfc04ee7d14a76e922769d3c96666 /libdiskfs | |
parent | ce1d4907f22154172f730a6d5345ae6a5150a9b9 (diff) | |
download | hurd-1eee1e2c72bbe0c1351fdc2a0ac3e456eb2cc2ca.tar.gz hurd-1eee1e2c72bbe0c1351fdc2a0ac3e456eb2cc2ca.tar.bz2 hurd-1eee1e2c72bbe0c1351fdc2a0ac3e456eb2cc2ca.zip |
Cast bootinfo to struct diskfs_control * to silence warning
Message-ID: <20231229212105.858759-2-flaviocruz@gmail.com>
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/boot-start.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index e8c09bcb..8c159f33 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); |