diff options
Diffstat (limited to 'Dalos/Hexview.cc')
-rw-r--r-- | Dalos/Hexview.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |