Fixing typo in Raw32 code
This commit is contained in:
parent
ed75f5e8c3
commit
b9dcbc8506
@ -694,7 +694,7 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_
|
||||
memcpy(t+1, (char *)&t - stackbase, stackbase+sizeof(char *));
|
||||
#else
|
||||
// Stack grows down
|
||||
nf = (char *)(t) + size - (stackbase + sizeof(char *));
|
||||
nf = (char *)(t) + t->size - (stackbase + sizeof(char *));
|
||||
memcpy(nf, &t, stackbase+sizeof(char *));
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user