mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-06 06:19:41 +00:00
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
This commit is contained in:
parent
cc48f3d6f9
commit
87c3599895
@ -888,7 +888,7 @@ struct DepotWindow : Window {
|
|||||||
/* Show tooltip window */
|
/* Show tooltip window */
|
||||||
uint64 args[2];
|
uint64 args[2];
|
||||||
args[0] = (whole_chain ? num : v->engine_type);
|
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);
|
GuiShowTooltips(whole_chain ? STR_DEPOT_VEHICLE_TOOLTIP_CHAIN : STR_DEPOT_VEHICLE_TOOLTIP, 2, args);
|
||||||
} else {
|
} else {
|
||||||
/* Show tooltip help */
|
/* Show tooltip help */
|
||||||
|
Loading…
Reference in New Issue
Block a user