aboutsummaryrefslogtreecommitdiffstats
path: root/table.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-05 15:45:52 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-05 15:45:52 +0000
commit28636c30f5e8c35d4f6b4d70e56fed84ee242a67 (patch)
tree1f4a7772953d6c99df467b100a2acc1ff63d88a0 /table.h
parentversion.c.in: cvs version (diff)
downloadw3m-28636c30f5e8c35d4f6b4d70e56fed84ee242a67.tar.gz
w3m-28636c30f5e8c35d4f6b4d70e56fed84ee242a67.zip
[w3m-dev 03371] segmentation fault by large complex table.
* table.c (bsearch_2short): indexarry char to short (bsearch_double): ditto (dv2sv): ditto (table_rule_width): ditto (set_integrated_width): ditto (check_table_height): ditto (feed_table_tag): ditto * table.h (struct table_cell): index, eindex char to short From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--table.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/table.h b/table.h
index 84eed7a..3d3f393 100644
--- a/table.h
+++ b/table.h
@@ -1,4 +1,4 @@
-/* $Id: table.h,v 1.5 2001/11/30 10:10:24 ukai Exp $ */
+/* $Id: table.h,v 1.6 2002/11/05 15:45:53 ukai Exp $ */
#if (defined(MESCHACH) && !defined(MATRIX))
#define MATRIX
#endif /* (defined(MESCHACH) && !defined(MATRIX)) */
@@ -37,11 +37,11 @@ typedef unsigned short table_attr;
struct table_cell {
short col[MAXCELL];
short colspan[MAXCELL];
- char index[MAXCELL];
+ short index[MAXCELL];
short maxcell;
short icell;
#ifdef MATRIX
- char eindex[MAXCELL];
+ short eindex[MAXCELL];
short necell;
#endif /* MATRIX */
short width[MAXCELL];