summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-09-05 19:11:01 +0000
committerfrosch <frosch@openttd.org>2016-09-05 19:11:01 +0000
commitac6793dace47b46d1375afa2d3fc4ca4aba0587a (patch)
treeaa896b9fc68b3a450a38b66fd3e2332f28f96cc3 /src/table
parent0adfb1ac6f8fa99ede48daaebd5fc4184c9797e3 (diff)
downloadopenttd-ac6793dace47b46d1375afa2d3fc4ca4aba0587a.tar.xz
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
Diffstat (limited to 'src/table')
-rw-r--r--src/table/newgrf_debug_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/newgrf_debug_data.h b/src/table/newgrf_debug_data.h
index b7d0c9202..afe19bbed 100644
--- a/src/table/newgrf_debug_data.h
+++ b/src/table/newgrf_debug_data.h
@@ -17,7 +17,7 @@
#define NIP_END() { NULL, 0, 0, 0, 0 }
/* Helper for filling callback tables */
-#define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id }
+#define NIC(cb_id, base, variable, bit) { #cb_id, (ptrdiff_t)cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id }
#define NIC_END() { NULL, 0, 0, 0, 0 }
/* Helper for filling variable tables */