Changed cookie type for get_next_area_info() to ssize_t.
The cookie is used to store the base address of the area that was just visited. On 64-bit systems, int32 is not sufficient. Therefore, changed to ssize_t which retains compatibility on x86 while expanding to a sufficient size on x86_64.
This commit is contained in:
@@ -246,7 +246,7 @@ void
|
||||
MemoryBarMenuItem::BarUpdate()
|
||||
{
|
||||
area_info areaInfo;
|
||||
int32 cookie = 0;
|
||||
ssize_t cookie = 0;
|
||||
int64 lram_size = 0;
|
||||
int64 lwram_size = 0;
|
||||
bool exists = false;
|
||||
|
||||
Reference in New Issue
Block a user