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. ----- andreia gaita moonlight hacker http://blog.worldofcoding.com http://moonlight-project.com
alignment.patch
Description: Binary data
------------------------------------------------------------------------------ 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