summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-05-13 10:54:12 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-05-13 10:54:12 +0200
commit25c309102d81d62a1db439aae4fa7d45a155df6b (patch)
treea1f106e751c32c8ee6553ae9327fbd1edf0b59ec /openpgp-ffi
parente363549906b457bb829d51593c6da7b0767abc8f (diff)
openpgp-ffi: Use the C ABI, not the system ABI
Reported-by: Thomas Muenz
Diffstat (limited to 'openpgp-ffi')
-rw-r--r--openpgp-ffi/src/parse/stream.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/src/parse/stream.rs b/openpgp-ffi/src/parse/stream.rs
index 8dcaf101..5b8ed62b 100644
--- a/openpgp-ffi/src/parse/stream.rs
+++ b/openpgp-ffi/src/parse/stream.rs
@@ -56,7 +56,7 @@ use super::super::{
pub struct MessageStructure<'a>(stream::MessageStructure<'a>);
/// Iterates over the message structure.
-#[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "system"
+#[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "C"
fn pgp_message_structure_iter(structure: *const MessageStructure)
-> *mut MessageStructureIter {
structure.ref_raw().iter().move_into_raw()