nimiq / core-rs

Official Rust implementation of the Nimiq protocol
https://nimiq.com
Other
74 stars 10 forks source link

Replace deprecated libc::uint32_t #37

Closed riptl closed 4 years ago

riptl commented 4 years ago

Replace libc::uint32_t with u32.

warning: use of deprecated item 'libc::fixed_width_ints::uint32_t': Use u32 instead.
 --> libargon2-sys/src/lib.rs:6:39
  |
6 |     fn argon2d_hash_raw_flags(t_cost: uint32_t, m_cost: uint32_t,
  |                                       ^^^^^^^^