AreaTest: 64bit fix.
This commit is contained in:
parent
5dbd0f48cc
commit
b137575c46
@ -28,13 +28,13 @@ AreaTest::TestAreas()
|
||||
int * ptr = new int[1];
|
||||
char *adr;
|
||||
area_id id;
|
||||
int offset;
|
||||
ptrdiff_t offset;
|
||||
|
||||
area_info info;
|
||||
id = area_for(ptr);
|
||||
get_area_info(id, &info);
|
||||
adr = (char *)info.address;
|
||||
offset = (uint32)ptr - (uint32)adr;
|
||||
offset = (ptrdiff_t)ptr - (ptrdiff_t)adr;
|
||||
|
||||
|
||||
char * adrclone1;
|
||||
|
Loading…
Reference in New Issue
Block a user