File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ pub async unsafe fn register_identity(
167167 let fut = unsafe {
168168 CFuture :: < c_void > :: new ( tanker_register_identity ( ctanker, verification, & c_options) )
169169 } ;
170- let token_str_ptr = fut. await ? as * mut i8 ;
170+ let token_str_ptr = fut. await ? as * mut c_char ;
171171 Ok ( NonNull :: new ( token_str_ptr) . map ( |str_ptr| {
172172 let str = CStr :: from_ptr ( str_ptr. as_ptr ( ) )
173173 . to_str ( )
@@ -190,7 +190,7 @@ pub async unsafe fn verify_identity(
190190 let fut = unsafe {
191191 CFuture :: < c_void > :: new ( tanker_verify_identity ( ctanker, verification, & c_options) )
192192 } ;
193- let token_str_ptr = fut. await ? as * mut i8 ;
193+ let token_str_ptr = fut. await ? as * mut c_char ;
194194 Ok ( NonNull :: new ( token_str_ptr) . map ( |str_ptr| {
195195 let str = CStr :: from_ptr ( str_ptr. as_ptr ( ) )
196196 . to_str ( )
@@ -225,7 +225,7 @@ pub async unsafe fn set_verification_method(
225225 & c_options,
226226 ) )
227227 } ;
228- let token_str_ptr = fut. await ? as * mut i8 ;
228+ let token_str_ptr = fut. await ? as * mut c_char ;
229229 Ok ( NonNull :: new ( token_str_ptr) . map ( |str_ptr| {
230230 let str = CStr :: from_ptr ( str_ptr. as_ptr ( ) )
231231 . to_str ( )
You can’t perform that action at this time.
0 commit comments