diff --git a/seal_fhe/SEAL b/seal_fhe/SEAL index 9a6ce5855..8426f35e3 160000 --- a/seal_fhe/SEAL +++ b/seal_fhe/SEAL @@ -1 +1 @@ -Subproject commit 9a6ce5855e5346f08c7adbd4498bb6c3a076a787 +Subproject commit 8426f35e35a67d382fa76451e2d8ff2940098bed diff --git a/seal_fhe/src/plaintext_ciphertext.rs b/seal_fhe/src/plaintext_ciphertext.rs index 6bc8e4776..d956d2733 100644 --- a/seal_fhe/src/plaintext_ciphertext.rs +++ b/seal_fhe/src/plaintext_ciphertext.rs @@ -210,7 +210,7 @@ impl Plaintext { let hex_string = CString::new(hex_str).unwrap(); convert_seal_error(unsafe { - bindgen::Plaintext_Create4(hex_string.as_ptr() as *mut i8, null_mut(), &mut handle) + bindgen::Plaintext_Create4(hex_string.as_ptr() as *mut u8, null_mut(), &mut handle) })?; Ok(Self { handle })