(svn r1330) Increase size of some vars from int16 to int32 to guard against future overflows

This commit is contained in:
tron
2005-01-03 08:50:44 +00:00
parent 608cdbe3f6
commit 29e71638ce
7 changed files with 43 additions and 22 deletions

View File

@@ -276,7 +276,9 @@ typedef struct {
} traindetails_d;
typedef struct {
int16 scroll_x, scroll_y, subscroll;
int32 scroll_x;
int32 scroll_y;
int32 subscroll;
} smallmap_d;
typedef struct {
@@ -291,12 +293,14 @@ typedef struct {
typedef struct {
uint16 follow_vehicle;
int16 scrollpos_x, scrollpos_y;
int32 scrollpos_x;
int32 scrollpos_y;
} vp_d;
typedef struct {
uint16 follow_vehicle;
int16 scrollpos_x, scrollpos_y;
int32 scrollpos_x;
int32 scrollpos_y;
NewsItem *ni;
} news_d;