From 9728df4de4eea19389d766233d7146f856060c99 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Mon, 19 Feb 2024 08:54:48 -0600 Subject: [PATCH] result --- crates/libs/result/src/bindings.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/libs/result/src/bindings.rs b/crates/libs/result/src/bindings.rs index aa33d2dcb8..c36c5562b5 100644 --- a/crates/libs/result/src/bindings.rs +++ b/crates/libs/result/src/bindings.rs @@ -20,8 +20,8 @@ pub type BOOL = i32; pub type BSTR = *const u16; pub const ERROR_INVALID_DATA: WIN32_ERROR = 13u32; pub const ERROR_NO_UNICODE_TRANSLATION: WIN32_ERROR = 1113u32; -pub const E_INVALIDARG: HRESULT = 0x80070057u32 as i32; -pub const E_UNEXPECTED: HRESULT = 0x8000FFFFu32 as i32; +pub const E_INVALIDARG: HRESULT = 0x80070057u32 as _; +pub const E_UNEXPECTED: HRESULT = 0x8000FFFFu32 as _; pub const FORMAT_MESSAGE_ALLOCATE_BUFFER: FORMAT_MESSAGE_OPTIONS = 256u32; pub const FORMAT_MESSAGE_FROM_SYSTEM: FORMAT_MESSAGE_OPTIONS = 4096u32; pub const FORMAT_MESSAGE_IGNORE_INSERTS: FORMAT_MESSAGE_OPTIONS = 512u32;