diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 17:00:05 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 17:00:05 +0000 |
commit | f1a8864fde5f3b1c40584b393654bd14c8c6c394 (patch) | |
tree | c4dccb086b70a8268dc95e65df5640a32281a71a /main.c | |
parent | e0cef3fdf44432b3d1e6294ccbff5ed45e6eaf0c (diff) | |
download | mandoc-f1a8864fde5f3b1c40584b393654bd14c8c6c394.tar.gz |
Fix enum/int mixing.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -629,6 +629,7 @@ static void parsebuf(struct curparse *curp, struct buf blk, int start) { struct buf ln; + enum rofferr rr; int i, of, rc; int pos; /* byte number in the ln buffer */ int lnn; /* line number in the real file */ @@ -743,11 +744,11 @@ parsebuf(struct curparse *curp, struct buf blk, int start) of = 0; rerun: - rc = roff_parseln + rr = roff_parseln (curp->roff, curp->line, &ln.buf, &ln.sz, of, &of); - switch (rc) { + switch (rr) { case (ROFF_REPARSE): parsebuf(curp, ln, 0); pos = 0; |