aboutsummaryrefslogtreecommitdiffstats
path: root/textlist.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-10-08 01:27:41 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-10-08 01:27:41 +0000
commit0c9aebb26a16ad3acc69b2e87ffd216d43879cb6 (patch)
tree7ab039b6b189f24fafbb8126a299a4ac8910d131 /textlist.h
parentPrevent global-buffer-overflow write in formUpdateBuffer (diff)
downloadw3m-0c9aebb26a16ad3acc69b2e87ffd216d43879cb6.tar.gz
w3m-0c9aebb26a16ad3acc69b2e87ffd216d43879cb6.zip
Treat table height as int instead of short
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838952
Diffstat (limited to 'textlist.h')
-rw-r--r--textlist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/textlist.h b/textlist.h
index f28b199..385eee4 100644
--- a/textlist.h
+++ b/textlist.h
@@ -14,7 +14,7 @@ typedef struct _listitem {
typedef struct _generallist {
ListItem *first;
ListItem *last;
- short nitem;
+ int nitem;
} GeneralList;
extern ListItem *newListItem(void *s, ListItem *n, ListItem *p);
@@ -36,7 +36,7 @@ typedef struct _textlistitem {
typedef struct _textlist {
TextListItem *first;
TextListItem *last;
- short nitem;
+ int nitem;
} TextList;
#define newTextList() ((TextList *)newGeneralList())
@@ -62,7 +62,7 @@ typedef struct _textlinelistitem {
typedef struct _textlinelist {
TextLineListItem *first;
TextLineListItem *last;
- short nitem;
+ int nitem;
} TextLineList;
extern TextLine *newTextLine(Str line, int pos);