Mercurial > crates > nonstick
diff src/libpam/items.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/items.rs Thu Jul 31 14:36:50 2025 -0400 +++ b/src/libpam/items.rs Thu Jul 31 14:45:38 2025 -0400 @@ -10,7 +10,7 @@ /// Identifies what is being gotten or set with `pam_get_item` /// or `pam_set_item`. #[non_exhaustive] - pub enum ItemType(i32) { + pub enum ItemType { /// The PAM service name. Service = libpam_sys::PAM_SERVICE, /// The user's login name.