Mercurial > hg > openttd
changeset 9826:480b465fb25f draft
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
author | glx <glx@openttd.org> |
---|---|
date | Sat, 02 Aug 2008 23:30:50 +0000 |
parents | cf695fca7797 |
children | ebe07a67945e |
files | src/depot_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -888,7 +888,7 @@ /* 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 */