summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2014-10-24 12:24:32 -0400
committerQuentin Carbonneaux2014-10-24 12:24:32 -0400
commit6020f9b426d3d62bfdc897a986c00da65a59ccc5 (patch)
treea976a4ac3005637505d968940f9490ad6152baf8
parent7989da5b289799f6e27d0575ffa4d75e51124628 (diff)
fix signs in buffer pages
-rw-r--r--buf.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/buf.h b/buf.h
index 93e291e..f651456 100644
--- a/buf.h
+++ b/buf.h
@@ -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 {