From 0417df7ba3021e3f81b3f7ab042770cdc3fb87ef Mon Sep 17 00:00:00 2001 From: michaelwright235 Date: Tue, 6 Jun 2023 16:30:40 +0300 Subject: [PATCH] Replace deprecated `libc::int32_t` type with `i32` `int32_t` is just an alias of `i32` type. --- core-graphics-types/src/base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-graphics-types/src/base.rs b/core-graphics-types/src/base.rs index 2a08126..03a85f1 100644 --- a/core-graphics-types/src/base.rs +++ b/core-graphics-types/src/base.rs @@ -26,7 +26,7 @@ pub type CGFloat = libc::c_double; #[cfg(not(target_pointer_width = "64"))] pub type CGFloat = libc::c_float; -pub type CGError = libc::int32_t; +pub type CGError = i32; pub type CGGlyph = libc::c_ushort;