From 87c359989528e3b773bd7f345aa9ccf4b3bf22f3 Mon Sep 17 00:00:00 2001 From: glx Date: Sat, 2 Aug 2008 23:30:50 +0000 Subject: (svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning --- src/depot_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/depot_gui.cpp') 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 */ -- cgit v1.2.3-54-g00ecf