1
0
Fork 0
forked from len0rd/rockbox

Missing parenthesis

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@767 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-05-28 15:05:56 +00:00
parent c1bb768e5a
commit 166f3298df

View file

@ -120,7 +120,7 @@ int create_thread(void* fp, void* sp, int stk_size)
stctx(ctxp); stctx(ctxp);
/* Subtract 4 to leave room for the PR push in ldctx() /* Subtract 4 to leave room for the PR push in ldctx()
Align it on an even 32 bit boundary */ Align it on an even 32 bit boundary */
ctxp->regs.sp = (void*)(((unsigned int)sp + stk_size - 4) & ~3; ctxp->regs.sp = (void*)(((unsigned int)sp + stk_size - 4) & ~3);
ctxp->regs.pr = fp; ctxp->regs.pr = fp;
} }
return 0; return 0;