diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2011-06-25 15:45:02 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2011-06-25 15:45:02 +0000 |
commit | 650f483d2dc80f26babca4a9d56d624530e39f7e (patch) | |
tree | b61c8a1ec432bbad89d857ede55de06b902afc0d | |
parent | b78e135db8dfe144901bdea6083cedda1a5224d7 (diff) |
Fixed credit for byuu and warning in lib/cothread/amd64.c compile (no whatsnew)
-rw-r--r-- | src/emu/cothread.c | 2 | ||||
-rw-r--r-- | src/lib/cothread/amd64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cothread.c b/src/emu/cothread.c index ebd18bd5248..4dbce1fa465 100644 --- a/src/emu/cothread.c +++ b/src/emu/cothread.c @@ -2,7 +2,7 @@ cothread.c - Class wrapper around buyy's cothread library. + Class wrapper around byuu's cothread library. **************************************************************************** diff --git a/src/lib/cothread/amd64.c b/src/lib/cothread/amd64.c index 5f1cfca97a6..4997c357dc6 100644 --- a/src/lib/cothread/amd64.c +++ b/src/lib/cothread/amd64.c @@ -80,7 +80,7 @@ cothread_t co_create(unsigned int size, void (*entrypoint)(void)) { size += 512; /* allocate additional space for storage */ size &= ~15; /* align stack to 16-byte boundary */ - if(handle = (cothread_t)malloc(size)) { + if((handle = (cothread_t)malloc(size))) { long long *p = (long long*)((char*)handle + size); /* seek to top of stack */ *--p = (long long)crash; /* crash if entrypoint returns */ *--p = (long long)entrypoint; /* start of function */ |