diff options
author | rubidium <rubidium@openttd.org> | 2009-01-03 17:28:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-03 17:28:22 +0000 |
commit | 11c25a72faad2d3d9aa72dbf130e4478b16e979d (patch) | |
tree | 40cfa11833b46971e1e5787f6a5e5fdea12bb074 /src/order_cmd.cpp | |
parent | afef22e3e7caeb41d94115bfd000b4cce68e430d (diff) | |
download | openttd-11c25a72faad2d3d9aa72dbf130e4478b16e979d.tar.xz |
(svn r14813) -Codechange: use uint instead of 'just' unsigned.
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 21bbaf4f7..d0678c457 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -412,8 +412,8 @@ bool OrderList::IsCompleteTimetable() const void OrderList::DebugCheckSanity() const { VehicleOrderID check_num_orders = 0; - unsigned check_num_vehicles = 0; - unsigned check_timetable_duration = 0; + uint check_num_vehicles = 0; + uint check_timetable_duration = 0; DEBUG(misc, 6, "Checking OrderList %hu for sanity...", this->index); @@ -429,7 +429,7 @@ void OrderList::DebugCheckSanity() const assert(v->orders.list == this); } assert(this->num_vehicles == check_num_vehicles); - DEBUG(misc, 6, "... detected %u orders, %u vehicles, %u ticks", (unsigned)this->num_orders, + DEBUG(misc, 6, "... detected %u orders, %u vehicles, %u ticks", (uint)this->num_orders, this->num_vehicles, this->timetable_duration); } |