diff --git a/core/shared/platform/baremetal/platform_init.c b/core/shared/platform/baremetal/platform_init.c index c14cd93e..ffdccc59 100644 --- a/core/shared/platform/baremetal/platform_init.c +++ b/core/shared/platform/baremetal/platform_init.c @@ -125,7 +125,7 @@ os_mmap(void *hint, size_t size, int prot, int flags, os_file_handle file) size_t start = align_up(mmap_offset, PAGE_SIZE); // How much we're mapping - size_T end = start + align_up(size, PAGE_SIZE); + size_t end = start + align_up(size, PAGE_SIZE); if (end > MMAP_SPACE_SIZE) { return NULL;