Fixed the 64 bit build.

This commit is contained in:
Maciej Suminski 2013-08-26 14:08:32 +02:00
parent eca53baf6f
commit 8597d2c681
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public:
m_stack = malloc( c_defaultStackSize );
// align to 16 bytes
void *sp = (void *) ( ( ( (ptrdiff_t) m_stack ) + m_stackSize - 0xf ) & 0xfffffff0 );
void *sp = (void *) ( ( ( (ptrdiff_t) m_stack ) + m_stackSize - 0xf ) & ( ~0x0f ) );
m_args = &args;
m_self = boost::context::make_fcontext( sp, m_stackSize, callerStub );