forked from osmocom/wireshark
Arrays indexed by a 1-octet unsigned value, if we don't know which
values are permitted, must have 256 elements, not 255 elements. svn path=/trunk/; revision=9399
This commit is contained in:
parent
ecbfe2fb77
commit
a97af4919b
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* MUCH code modified from service_response_time_table.c.
|
||||
*
|
||||
* $Id: ansi_map_stat.c,v 1.6 2003/12/21 22:21:45 guy Exp $
|
||||
* $Id: ansi_map_stat.c,v 1.7 2003/12/21 22:24:41 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -67,7 +67,7 @@ typedef struct _ansi_map_stat_dlg_t {
|
|||
char *entries[3];
|
||||
} ansi_map_stat_dlg_t;
|
||||
|
||||
#define N_MESSAGE_TYPES 0xff
|
||||
#define N_MESSAGE_TYPES 256
|
||||
|
||||
typedef struct _ansi_map_stat_t {
|
||||
int message_type[N_MESSAGE_TYPES];
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* MUCH code modified from service_response_time_table.c.
|
||||
*
|
||||
* $Id: isup_stat.c,v 1.6 2003/12/21 22:21:45 guy Exp $
|
||||
* $Id: isup_stat.c,v 1.7 2003/12/21 22:24:41 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -67,7 +67,7 @@ typedef struct _isup_stat_dlg_t {
|
|||
char *entries[4];
|
||||
} isup_stat_dlg_t;
|
||||
|
||||
#define N_MESSAGE_TYPES 0xff
|
||||
#define N_MESSAGE_TYPES 256
|
||||
|
||||
typedef struct _isup_stat_t {
|
||||
int message_type[N_MESSAGE_TYPES];
|
||||
|
|
Loading…
Reference in New Issue