From 413c47670d8d5cfe5f3e596d35178db643af08aa 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'term.h') diff --git a/term.h b/term.h index 6f85a945..c98b1bfe 100644 --- a/term.h +++ b/term.h @@ -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