Fix x86-64 build.

This commit is contained in:
Rene Gollent 2013-04-05 09:42:56 -04:00
parent dbf6921a9f
commit 81ccf71fa2

View File

@ -525,7 +525,7 @@ DebuggerInterface::GetAreaInfos(BObjectList<AreaInfo>& infos)
{
// get the team's areas
area_info areaInfo;
int32 cookie = 0;
ssize_t cookie = 0;
while (get_next_area_info(fTeamID, &cookie, &areaInfo) == B_OK) {
AreaInfo* info = new(std::nothrow) AreaInfo(fTeamID, areaInfo.area,
areaInfo.name, (addr_t)areaInfo.address, areaInfo.size,