I'm trying to compile MESS and MAME using TortoiseGIT on Windows 7 but I'm receiving the following error message:

mkdir.exe -p obj/windows/osd/modules/sound
mkdir.exe -p obj/windows/osd/windows
mkdir.exe -p obj/windows/tools
Compiling src/osd/windows/vconv.c...
Compiling src/build/makedep.c...
Compiling src/lib/util/astring.c...
Compiling src/lib/util/corealloc.c...
Compiling src/lib/util/corefile.c...
Compiling src/lib/util/unicode.c...
src/lib/util/corealloc.c: In static member function 'static memory_entry* memory
_entry::allocate(size_t, void*, const char*, int, bool)':
src/lib/util/corealloc.c:294:43: error: cast from 'void*' to 'FPTR {aka unsigned
int}' loses precision [-fpermissive]
src/lib/util/corealloc.c: In static member function 'static memory_entry* memory
_entry::find(void*)':
src/lib/util/corealloc.c:319:42: error: cast from 'void*' to 'FPTR {aka unsigned
int}' loses precision [-fpermissive]
src/lib/util/corealloc.c: In static member function 'static void memory_entry::r
elease(memory_entry*, const char*, int)':
src/lib/util/corealloc.c:342:52: error: cast from 'void*' to 'FPTR {aka unsigned
int}' loses precision [-fpermissive]
make: *** [obj/windows/lib/util/corealloc.o] Error 1
make: *** Waiting for unfinished jobs....

The source code was compiling fine the last time I tried, which I think was on the weekend.