diff -r a0256658287d -r dd9cba5fab2a depot.h --- a/depot.h Thu Jun 16 20:54:37 2005 +0000 +++ b/depot.h Fri Jun 17 00:22:46 2005 +0000 @@ -98,7 +98,7 @@ case TRANSPORT_RAIL: case TRANSPORT_ROAD: /* Rail and road store a diagonal direction in bits 0 and 1 */ - return _map5[tile] & 3; + return (DiagDirection)(_map5[tile] & 3); case TRANSPORT_WATER: /* Water is stubborn, it stores the directions in a different order. */ switch (_map5[tile] & 3) {