diff options
| author | Quentin Carbonneaux | 2014-10-24 12:24:32 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux | 2014-10-24 12:24:32 -0400 |
| commit | 6020f9b426d3d62bfdc897a986c00da65a59ccc5 (patch) | |
| tree | a976a4ac3005637505d968940f9490ad6152baf8 | |
| parent | 7989da5b289799f6e27d0575ffa4d75e51124628 (diff) | |
fix signs in buffer pages
| -rw-r--r-- | buf.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -8,13 +8,13 @@ enum { }; struct page { - int len; /* page length */ - short nl; /* number of \n in page */ - short col; /* column of the first rune */ - Rune *hbeg; /* start of the hole */ - Page *p; /* link to previous */ - Page *n; /* link to next */ - Rune buf[PageLen]; /* buffer */ + unsigned len; /* page length */ + unsigned short nl; /* number of \n in page */ + unsigned short col; /* column of the first rune */ + Rune *hbeg; /* start of the hole */ + Page *p; /* link to previous */ + Page *n; /* link to next */ + Rune buf[PageLen]; /* buffer */ }; struct buf { |
