From 41888ef59466350679be005d5e06b4e67ffb55b7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 2 Mar 2024 13:08:46 +0100 Subject: [PATCH] compilation fixes --- s/build | 0 src/economy.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 s/build diff --git a/s/build b/s/build old mode 100644 new mode 100755 diff --git a/src/economy.c b/src/economy.c index 6efc4fcc2..487211fe6 100644 --- a/src/economy.c +++ b/src/economy.c @@ -1537,13 +1537,13 @@ static void expandselling(region * r, econ_request * sellorders, int limit) norders = arrlen(sellorders); if (norders > 0) { - int j; + unsigned int j; for (j = 0; j != norders; j++) { const econ_request *request = sellorders + j; unit *u = request->unit; const luxury_type *search; const luxury_type *ltype = request->data.trade.ltype; - int n, i, income = 0, products = 0; + int n, i, income = 0; int multi = r_demand(r, ltype); attrib *a = a_find(u->attribs, &at_luxuries); struct trade *t;