diff options
author | smatz <smatz@openttd.org> | 2009-09-07 21:01:24 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-07 21:01:24 +0000 |
commit | 434693b8389a5816d73f089e064819a19f76f798 (patch) | |
tree | 4f28bf30f0060e2ec00959a48f107162314ff499 /src/table/build_industry.h | |
parent | fe7032a7a6efdd19b38a5a79b5a36bbe4cfdc6e7 (diff) | |
download | openttd-434693b8389a5816d73f089e064819a19f76f798.tar.xz |
(svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0
Diffstat (limited to 'src/table/build_industry.h')
-rw-r--r-- | src/table/build_industry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h index e45c25c06..47b16c48e 100644 --- a/src/table/build_industry.h +++ b/src/table/build_industry.h @@ -1182,7 +1182,7 @@ enum { #define MI(tbl, sndc, snd, d, pc, ai1, ai2, ai3, ai4, ag1, ag2, ag3, ag4, col, \ c1, c2, c3, proc, p1, r1, p2, r2, m, a1, im1, a2, im2, a3, im3, pr, clim, bev, in, intx, s1, s2, s3) \ - {tbl, lengthof(tbl), min(255, d), 0, d, pc, {c1, c2, c3}, proc, {p1, p2}, {r1, r2}, m, \ + {tbl, lengthof(tbl), (uint8)min(255, d), 0, d, pc, {c1, c2, c3}, proc, {p1, p2}, {r1, r2}, m, \ {a1, a2, a3}, {{im1, 0}, {im2, 0}, {im3, 0}}, pr, clim, bev, col, in, intx, s1, s2, s3, STR_UNDEFINED, {ai1, ai2, ai3, ai4}, {ag1, ag2, ag3, ag4}, \ sndc, snd, 0, 0, true, {INVALID_INDUSTRYTYPE, 0, NULL, NULL, INVALID_INDUSTRYTYPE}} /* Format: |