Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tvos
  • Loading branch information
lambdageek committed Jun 1, 2022
commit 8bfb629462f39bcb9fbc0bee02fdbc279eef47c9
2 changes: 1 addition & 1 deletion src/mono/mono/mini/aot-runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -5657,7 +5657,7 @@ get_new_trampoline_from_page (int tramp_type)
*/
if (tramp_type != MONO_AOT_TRAMP_SPECIFIC) {
/* Register the rest of the page as a single trampoline */
sp_info = mono_tramp_info_create (NULL, code, page->trampolines_end - code, NULL, NULL);
sp_info = mono_tramp_info_create (NULL, code, (guint32)(page->trampolines_end - code), NULL, NULL);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GPTRDIFF_TO_UINT32 ?

read_page_trampoline_uwinfo (sp_info, tramp_type, FALSE);
mono_aot_tramp_info_register (sp_info, NULL);
}
Expand Down