From 611e4490d218a8bfddc6f89ec0f02441e26866ab Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 16 Jun 2019 20:33:04 +0100 Subject: [PATCH] Replace deprecated libc::uint32_t with u32 --- ffi/src/state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffi/src/state.rs b/ffi/src/state.rs index fb66318..6d9dc57 100644 --- a/ffi/src/state.rs +++ b/ffi/src/state.rs @@ -3,7 +3,7 @@ use std::panic::catch_unwind; use std::path::PathBuf; use std::sync::RwLock; -use libc::{c_char, c_int, size_t, uint32_t}; +use libc::{c_char, c_int, size_t}; use loot_condition_interpreter::State; use constants::*; @@ -26,7 +26,7 @@ pub struct plugin_version { #[repr(C)] pub struct plugin_crc { pub plugin_name: *const c_char, - pub crc: uint32_t, + pub crc: u32, } #[no_mangle]