diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-18 19:17:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-18 19:17:14 +0000 |
commit | 6a3426b96c463f334433958c29fec62d57e1b201 (patch) | |
tree | 8624489cf5a35b9a241b18c83f15fe48afbb6dcc /man_term.c | |
parent | b24acbb5f3ae16c8a4e9645043803117dda71323 (diff) | |
download | mandoc-6a3426b96c463f334433958c29fec62d57e1b201.tar.gz |
Lint fixes.
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -191,7 +191,7 @@ arg2height(const struct man_node *n) if ( ! a2roffsu(n->string, &su, SCALE_VS)) SCALE_VS_INIT(&su, strlen(n->string)); - return(term_vspan(&su)); + return((int)term_vspan(&su)); } @@ -203,9 +203,9 @@ arg2width(const struct man_node *n) assert(MAN_TEXT == n->type); assert(n->string); if ( ! a2roffsu(n->string, &su, SCALE_BU)) - SCALE_HS_INIT(&su, strlen(n->string) + 2); + return(-1); - return(term_hspan(&su)); + return((int)term_hspan(&su)); } |