X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Fld-acess_src%2Fmemory.c;h=072d32660ce88e8e05b1b2eb76a0a79c77694d9b;hb=c9f3dc274e9e95b07966bc50c02b73887822556a;hp=627f90245c2f0934951d448477df4d50b0480d78;hpb=a09032f44bba55ce1e60dfab92a39cf6c909220b;p=tpg%2Facess2.git diff --git a/AcessNative/ld-acess_src/memory.c b/AcessNative/ld-acess_src/memory.c index 627f9024..072d3266 100644 --- a/AcessNative/ld-acess_src/memory.c +++ b/AcessNative/ld-acess_src/memory.c @@ -42,7 +42,7 @@ uintptr_t FindFreeRange(size_t ByteCount, int MaxBits) #else uintptr_t base, ofs, size; uintptr_t end = -1; - const int PAGE_SIZE = 0x1000; + static const int PAGE_SIZE = 0x1000; size = (ByteCount + PAGE_SIZE - 1) / PAGE_SIZE; size *= PAGE_SIZE;