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 | ab8ed7f1e6b3e475e881e9a508b988327c06ac76 (patch) | |
tree | 10ee0903e85fda63786d951cce475c3f4fd4d8c3 /term.h | |
parent | 46b6fb73529e79de5452e9d25e26a7c8b83bd79f (diff) | |
download | mandoc-ab8ed7f1e6b3e475e881e9a508b988327c06ac76.tar.gz mandoc-ab8ed7f1e6b3e475e881e9a508b988327c06ac76.tar.zst mandoc-ab8ed7f1e6b3e475e881e9a508b988327c06ac76.zip |
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 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <kristaps@bsd.lv> * @@ -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; |