File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -149,13 +149,13 @@ struct BootServicesInternal {
149
149
start_image : unsafe extern "efiapi" fn (
150
150
image_handle : uefi_raw:: Handle ,
151
151
exit_data_size : * mut usize ,
152
- exit_data : & mut * mut Char16 ,
152
+ exit_data : & mut * mut u16 ,
153
153
) -> Status ,
154
154
exit : unsafe extern "efiapi" fn (
155
155
image_handle : uefi_raw:: Handle ,
156
156
exit_status : Status ,
157
157
exit_data_size : usize ,
158
- exit_data : * mut Char16 ,
158
+ exit_data : * mut u16 ,
159
159
) -> !,
160
160
unload_image : unsafe extern "efiapi" fn ( image_handle : uefi_raw:: Handle ) -> Status ,
161
161
exit_boot_services :
@@ -1125,7 +1125,7 @@ impl BootServices {
1125
1125
unsafe {
1126
1126
// TODO: implement returning exit data to the caller.
1127
1127
let mut exit_data_size: usize = 0 ;
1128
- let mut exit_data: * mut Char16 = ptr:: null_mut ( ) ;
1128
+ let mut exit_data: * mut u16 = ptr:: null_mut ( ) ;
1129
1129
( self . 0 . start_image ) ( image_handle. as_ptr ( ) , & mut exit_data_size, & mut exit_data)
1130
1130
. to_result ( )
1131
1131
}
@@ -1151,7 +1151,7 @@ impl BootServices {
1151
1151
image_handle. as_ptr ( ) ,
1152
1152
exit_status,
1153
1153
exit_data_size,
1154
- exit_data,
1154
+ exit_data. cast ( ) ,
1155
1155
)
1156
1156
}
1157
1157
You can’t perform that action at this time.
0 commit comments