diff options
author | pixel <pixel> | 2006-02-02 17:25:28 +0000 |
---|---|---|
committer | pixel <pixel> | 2006-02-02 17:25:28 +0000 |
commit | 724f9caca810a0727211c6d44076417326ad22f0 (patch) | |
tree | d3a459e574b8d406c82c35fb298a66e37180273c /Dalos | |
parent | 530453376c1cef29b7c099f4e9e8b4e4dbf99db7 (diff) |
Fixing dump warning/compilations issues under MSVC.
Diffstat (limited to 'Dalos')
-rw-r--r-- | Dalos/Dalos.cc | 3 | ||||
-rw-r--r-- | Dalos/Hexview.cc | 4 |
2 files changed, 3 insertions, 4 deletions
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 <SDL.h> #include <SDL_thread.h> @@ -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 <SDL.h> @@ -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) { |