Check subscript of rpt[]

Make nws_vrb unsigned to simplify that.
This commit is contained in:
Markus Armbruster 2008-02-24 22:15:10 +01:00
parent 5fda9462bd
commit 990b39edec
4 changed files with 8 additions and 4 deletions

View file

@ -50,7 +50,7 @@ struct nwsstr {
short nws_uid;
/* end of part matching struct empobj */
natid nws_ano; /* "actor" country # */
signed char nws_vrb; /* action (verb) */
unsigned char nws_vrb; /* action (verb) */
natid nws_vno; /* "victim" country # */
signed char nws_ntm; /* number of times */
time_t nws_when; /* time of action */