From a82a66749c2042974a0b44d87415007f459991f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 2 Jul 2004 15:33:56 +0000 Subject: [PATCH] Fixed warnings. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8273 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/listimage.c | 4 ++-- src/apps/bin/play.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/bin/listimage.c b/src/apps/bin/listimage.c index efd97464fc..5a73264871 100644 --- a/src/apps/bin/listimage.c +++ b/src/apps/bin/listimage.c @@ -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); } diff --git a/src/apps/bin/play.cpp b/src/apps/bin/play.cpp index 89b9abf799..4f89c7fcbb 100644 --- a/src/apps/bin/play.cpp +++ b/src/apps/bin/play.cpp @@ -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;