Skip to content

Commit

Permalink
Update sig.rs
Browse files Browse the repository at this point in the history
Type should match function definition, otherwise this won't compile on platforms regardless of them defining c_char as i8 or u8
  • Loading branch information
marcbrevoort-cyberhive committed Aug 19, 2022
1 parent c750f09 commit 076dc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oqs/src/sig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ macro_rules! implement_sigs {
Algorithm::$sig => &ffi::$oqs_id[..],
)*
};
id as *const _ as *const i8
id as *const _ as *const libc::c_char
}

$(
Expand Down

0 comments on commit 076dc9e

Please sign in to comment.