From ab8ed7f1e6b3e475e881e9a508b988327c06ac76 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 14 May 2011 18:15:20 +0000 Subject: Make some values "int" that were "size_t". These are primarily used for indexing into arrays, so this removes lots of casts from size_t to int. --- term.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'term.h') diff --git a/term.h b/term.h index f2b3db3d..38afbfa6 100644 --- a/term.h +++ b/term.h @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.81 2011/05/14 17:54:42 kristaps Exp $ */ +/* $Id: term.h,v 1.82 2011/05/14 18:15:20 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -82,10 +82,10 @@ struct termp { size_t defrmargin; /* Right margin of the device. */ size_t rmargin; /* Current right margin. */ size_t maxrmargin; /* Max right margin. */ - size_t maxcols; /* Max size of buf. */ + int maxcols; /* Max size of buf. */ size_t offset; /* Margin offest. */ size_t tabwidth; /* Distance of tab positions. */ - size_t col; /* Bytes in buf. */ + int col; /* Bytes in buf. */ size_t viscol; /* Chars on current line. */ int overstep; /* See termp_flushln(). */ int flags; -- cgit v1.2.3-56-ge451