following the compilation instructions for Snow Leopard
casting to fix a compile error on MapCache.cpp:1146
more sadness