On Sat, 26 Jan 2008, nash wrote:
> > >> here is a patch to allow the compilation of eet with the compiler cegcc >> (for Windows Mobile) >> >> if nobody sees a problem, I'll apply the patch next week. >> #ifndef _WIN32 >> if (ef->data) munmap((void*)ef->data, ef->data_size); >> #else >> - if (ef->data) UnmapViewOfFile (ef->data); >> + if (ef->data) UnmapViewOfFile((void*)ef->data); >> #endif > > Is this a C or C++ compiler? > I'm just curious why you need to cast anything to void*? there were a warning from gcc. Otherwise, it is not necessary. Vincent ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel