From: erg Date: Wed, 20 Oct 2010 15:23:00 +0000 (+0000) Subject: Fix bug 2059 X-Git-Tag: LAST_LIBGRAPH~32^2~1164 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70177a3d399326212d5ead8204ec5ee44ff44381;p=graphviz Fix bug 2059 --- diff --git a/lib/common/htmllex.c b/lib/common/htmllex.c index 3cb1dbd28..4c618e804 100644 --- a/lib/common/htmllex.c +++ b/lib/common/htmllex.c @@ -318,7 +318,7 @@ static int rowspanfn(htmlcell_t * p, char *v) agerr(AGWARN, "ROWSPAN value cannot be 0 - ignored\n"); return 1; } - p->rspan = (unsigned char) u; + p->rspan = (unsigned short) u; return 0; } @@ -332,7 +332,7 @@ static int colspanfn(htmlcell_t * p, char *v) agerr(AGWARN, "COLSPAN value cannot be 0 - ignored\n"); return 1; } - p->cspan = (unsigned char) u; + p->cspan = (unsigned short) u; return 0; }