Fixed warnings.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8273 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-07-02 15:33:56 +00:00
parent 23aff57013
commit a82a66749c
2 changed files with 3 additions and 3 deletions

View File

@ -42,8 +42,8 @@ list_images_for_team_by_id(team_id id)
printf("%5ld %64s 0x%08lx 0x%08lx %4ld %10lu\n",
imageInfo.id,
imageInfo.name,
imageInfo.text,
imageInfo.data,
(addr_t)imageInfo.text,
(addr_t)imageInfo.data,
imageInfo.sequence,
imageInfo.init_order);
}

View File

@ -338,7 +338,7 @@ main (int argc, char **argv)
index %= 75;
read_cd.start_f = index;
index = min_c(frames, length);
index = min_c((int)frames, length);
read_cd.buffer_length = index * 2352;
length -= index;
start += index;