CID 26262: short and unsigned types are the devil, use int everywhere for fewer headaches

This commit is contained in:
Enno Rehling 2015-10-29 20:39:44 +01:00
parent b3edd8dc5a
commit 4eb6a89821
1 changed files with 3 additions and 3 deletions

View File

@ -89,11 +89,11 @@ extern "C" {
struct faction *faction;
struct building *building;
struct ship *ship;
unsigned short number; /* persons */
short age;
int number; /* persons */
int age;
/* skill data */
short skill_size;
int skill_size;
struct skill *skills;
struct item *items;
reservation *reservations;