Treat table height as int instead of short

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838952
This commit is contained in:
Tatsuya Kinoshita
2016-10-08 10:27:41 +09:00
parent d01de738f5
commit 0c9aebb26a
3 changed files with 11 additions and 11 deletions

View File

@@ -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);