I'm not sure this patch is correct or not.
Index: simdepot.cc
===================================================================
--- simdepot.cc (r 2867)
+++ simdepot.cc (copy)
@@ -203,7 +203,7 @@
{
vehicles.remove(veh);
get_besitzer()->buche(veh->calc_restwert(), get_pos().get_2d(), COST_NEW_VEHICLE );
- get_besitzer()->buche(-veh->calc_restwert(), COST_****ETS );
+ get_besitzer()->buche(-(sint64)veh->calc_restwert(), COST_****ETS );
DBG_MESSAGE("depot_t::sell_vehicle()", "this=%p sells %p", this, veh);
delete veh;
}