summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-08-02 23:30:50 +0000
committerglx <glx@openttd.org>2008-08-02 23:30:50 +0000
commitd6520ae09690203690fa767f12853539ed7f473e (patch)
tree7b0f8db83bed7ca1cbdc7f2348268658902275e5
parente62a150293eea1df0a33c81d89991546fda80dca (diff)
downloadopenttd-d6520ae09690203690fa767f12853539ed7f473e.tar.xz
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
-rw-r--r--src/depot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 47676bff8..fe4490584 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -888,7 +888,7 @@ struct DepotWindow : Window {
/* Show tooltip window */
uint64 args[2];
args[0] = (whole_chain ? num : v->engine_type);
- args[1] = (uint64)details;
+ args[1] = (uint64)(size_t)details;
GuiShowTooltips(whole_chain ? STR_DEPOT_VEHICLE_TOOLTIP_CHAIN : STR_DEPOT_VEHICLE_TOOLTIP, 2, args);
} else {
/* Show tooltip help */