From 28636c30f5e8c35d4f6b4d70e56fed84ee242a67 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 5 Nov 2002 15:45:52 +0000 Subject: [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 --- table.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'table.h') 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]; -- cgit v1.2.3