Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-core/src/errors.rs @ 48807:59be65b7cdfd stable
rust-hg-core: use correct type for libc hostname buffer
The type of libc::c_char is u8 on aarch64 rather than i8, which causes
the use of a specifically-typed constant to fail.
Differential Revision: https://phab.mercurial-scm.org/D12373
author | Luke Granger-Brown <hg@lukegb.com> |
---|---|
date | Mon, 14 Mar 2022 14:10:41 +0000 |
parents | abeae090ce67 |
children | 3f86ee422095 |