aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taipan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/taipan.c b/taipan.c
index 1765399..b479df0 100644
--- a/taipan.c
+++ b/taipan.c
@@ -1664,7 +1664,7 @@ void cash_or_guns(void) {
}
void set_prices(void) {
- char i;
+ unsigned char i;
for(i = 0; i < 4; ++i)
price[i] = (base_price[i][port] * rand1to3() * base_price[i][0]) / 2;
}
@@ -1678,8 +1678,8 @@ unsigned int warehouse_in_use() {
void port_stats(void) {
- unsigned char i;
- int in_use, status = get_ship_status();
+ unsigned char i, status = get_ship_status();
+ int in_use;
#ifdef PORT_STAT_TIMER
int startframe, startline, endframe, endline;
#endif