summaryrefslogtreecommitdiff
path: root/order_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'order_cmd.c')
-rw-r--r--order_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/order_cmd.c b/order_cmd.c
index fb6d26a99..68ed40e5f 100644
--- a/order_cmd.c
+++ b/order_cmd.c
@@ -118,7 +118,7 @@ static Order *AllocateOrder(void)
* TODO - This is just a temporary stage, this will be removed. */
for (order = GetOrder(0); order != NULL; order = (order->index + 1 < GetOrderPoolSize()) ? GetOrder(order->index + 1) : NULL) {
if (!IsValidOrder(order)) {
- uint index = order->index;
+ OrderID index = order->index;
memset(order, 0, sizeof(*order));
order->index = index;