Mercurial > crates > nonstick
diff src/libpam/question.rs @ 113:178310336596
Fix up more constants, make things i32 rather than u32.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 29 Jun 2025 03:11:33 -0400 |
parents | e97534be35e3 |
children |
line wrap: on
line diff
--- a/src/libpam/question.rs Sun Jun 29 02:21:26 2025 -0400 +++ b/src/libpam/question.rs Sun Jun 29 03:11:33 2025 -0400 @@ -177,7 +177,7 @@ /// The C enum values for messages shown to the user. #[derive(Debug, PartialEq, TryFromPrimitive, IntoPrimitive)] -#[repr(u32)] +#[repr(i32)] enum Style { /// Requests information from the user; will be masked when typing. PromptEchoOff = pam_ffi::PAM_PROMPT_ECHO_OFF,