summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-14 18:15:20 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-14 18:15:20 +0000
commit413c47670d8d5cfe5f3e596d35178db643af08aa (patch)
tree8b3a2ddc38ef66b5109abe1e71143b0f88d8191a /term.h
parentc6f3075846c286cebabf731303d52660dd30afe8 (diff)
downloadmandoc-413c47670d8d5cfe5f3e596d35178db643af08aa.tar.gz
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.
Diffstat (limited to 'term.h')
-rw-r--r--term.h4
1 files changed, 2 insertions, 2 deletions
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;