--- deliantra/server/plugins/cfpython/cfpython_map.c 2006/02/22 18:03:15 1.1.1.2 +++ deliantra/server/plugins/cfpython/cfpython_map.c 2006/08/13 17:16:02 1.2 @@ -195,7 +195,7 @@ static int Map_InternalCompare(Crossfire_Map* left, Crossfire_Map* right) { - return left->map < right->map ? -1 : ( left->map == right->map ? 0 : 1 ); + return (int)left->map - (int)right->map; } /* Legacy code: convert to long so that non-object functions work correctly */