From 724f9caca810a0727211c6d44076417326ad22f0 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 2 Feb 2006 17:25:28 +0000 Subject: Fixing dump warning/compilations issues under MSVC. --- Dalos/Dalos.cc | 3 +-- Dalos/Hexview.cc | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'Dalos') diff --git a/Dalos/Dalos.cc b/Dalos/Dalos.cc index 673e7a4..1262d73 100644 --- a/Dalos/Dalos.cc +++ b/Dalos/Dalos.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Dalos.cc,v 1.23 2006-02-02 11:01:12 pixel Exp $ */ +/* $Id: Dalos.cc,v 1.24 2006-02-02 17:25:28 pixel Exp $ */ #include #include @@ -116,7 +116,6 @@ static void lua_hook(lua_State * __L, lua_Debug * ar) { void start_lua() { Lua * L = new threaded_Lua(); bool use_builtin_cdtool = false; - int i; L->open_base(); L->open_math(); diff --git a/Dalos/Hexview.cc b/Dalos/Hexview.cc index bc45d9d..f523e8d 100644 --- a/Dalos/Hexview.cc +++ b/Dalos/Hexview.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Hexview.cc,v 1.5 2006-02-02 11:01:12 pixel Exp $ */ +/* $Id: Hexview.cc,v 1.6 2006-02-02 17:25:28 pixel Exp $ */ #include @@ -178,7 +178,7 @@ void hexview::draw() { mogltk::FixedFont->setcolor(WHITE); mogltk::FixedFont->putcursor(GetAX() - shift * 6, GetAY()); - max_o = MIN(h->GetSize(), offset + nlines * width); + max_o = MIN(h->GetSize(), (ssize_t) offset + nlines * width); for (i = start_o = offset, j = 0, l = 0; i < max_o; i++) { if ((j % width) == 0) { -- cgit v1.2.3