forked from len0rd/rockbox
more int -> long
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5656 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
33114cad25
commit
7e8914daf7
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ int create_thread(void* function, void* stack, int stack_size,
|
|||
regs->pr = function;
|
||||
#elif CONFIG_CPU == TCC730
|
||||
/* Align stack on word boundary */
|
||||
regs->sp = (void*)(((unsigned int)stack + stack_size - 2) & ~1);
|
||||
regs->sp = (void*)(((unsigned long)stack + stack_size - 2) & ~1);
|
||||
regs->start = (void*)function;
|
||||
regs->started = 0;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue