Skip to content

Commit 28dac47

Browse files
committed
Fix AfError enum C representaion to u32 to be consistent across all enums
1 parent a0590fa commit 28dac47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/defines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::fmt::Error as FmtError;
55
use std::fmt::{Display, Formatter};
66

77
/// Error codes
8-
#[repr(i32)]
8+
#[repr(u32)]
99
#[derive(Clone, Copy, Debug, PartialEq)]
1010
pub enum AfError {
1111
/// The function returned successfully

0 commit comments

Comments
 (0)