diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-14 18:15:20 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-14 18:15:20 +0000 |
commit | 413c47670d8d5cfe5f3e596d35178db643af08aa (patch) | |
tree | 8b3a2ddc38ef66b5109abe1e71143b0f88d8191a /term.h | |
parent | c6f3075846c286cebabf731303d52660dd30afe8 (diff) | |
download | mandoc-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |