typo
This commit is contained in:
@ -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);
|
size_t start = align_up(mmap_offset, PAGE_SIZE);
|
||||||
|
|
||||||
// How much we're mapping
|
// 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) {
|
if (end > MMAP_SPACE_SIZE) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user