Fixing typo in Raw32 code

This commit is contained in:
Joel Bodenmann 2015-07-08 22:06:18 +02:00
parent ed75f5e8c3
commit b9dcbc8506

View File

@ -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