On Thu, 2010-02-04 at 09:14 -0800, Andreia Gaita wrote: > Hi everyone, > > On os_memory_aiigned.h, os_malloc_aligned does: > > buf = (char *)(((uintptr_t)ptr + sizeof(void *) + alignment - 1) & > ~(alignment - 1)); > > which gets clamped to 32 bits and fails rather spectacularly on 64 > bits, the NOR needs a long cast to work properly. I've attached a > patch with the fix, hope that's the proper way to submit it.
Commited with minor changes. Thanks! Jose ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev