Mercurial > crates > nonstick
diff src/libpam/question.rs @ 185:fb8b547b36b7
Banish al(most al)l use of `i32` in favor of `c_int`.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 31 Jul 2025 14:45:38 -0400 |
parents | a1bb1d013567 |
children |
line wrap: on
line diff
--- a/src/libpam/question.rs Thu Jul 31 14:36:50 2025 -0400 +++ b/src/libpam/question.rs Thu Jul 31 14:45:38 2025 -0400 @@ -12,7 +12,7 @@ memory::num_enum! { /// The C enum values for messages shown to the user. - enum Style(i32) { + enum Style { /// Requests information from the user; will be masked when typing. PromptEchoOff = libpam_sys::PAM_PROMPT_ECHO_OFF, /// Requests information from the user; will not be masked.