File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ impl Comm {
472472 G_ux_params . u . pairing_request . pairing_info_len = ( _len - 2 ) as u32 ;
473473 for i in 0 ..G_ux_params . u . pairing_request . pairing_info_len as usize {
474474 G_ux_params . u . pairing_request . pairing_info [ i as usize ] =
475- seph_buffer[ 5 + i] as u8 ;
475+ seph_buffer[ 5 + i] as core :: ffi :: c_char ;
476476 }
477477 G_ux_params . u . pairing_request . pairing_info
478478 [ G_ux_params . u . pairing_request . pairing_info_len as usize ] = 0 ;
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ pub fn get_printable_amount_params<
274274 debug_print ( "==> GET_AMOUNT_STR\n " ) ;
275275 printable_amount_params. amount_str = unsafe {
276276 & ( * ( libarg. __bindgen_anon_1 . get_printable_amount as * mut get_printable_amount_parameters_t ) )
277- . printable_amount as * const u8 as * mut i8
277+ . printable_amount as * const core :: ffi :: c_char as * mut i8
278278 } ;
279279
280280 printable_amount_params
You can’t perform that action at this time.
0 commit comments