diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-15 17:27:45 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-15 17:27:45 +0000 |
| commit | 26a6348f77faff1083d501950812ea9f68eb9547 (patch) | |
| tree | 8aebd3631f3b60d9753cd8271c0ad7c1379af1a2 /Python/thread_nt.h | |
| parent | ad4cf65e988f853a3b32a7da30198ce9c6c73c02 (diff) | |
| download | cpython-26a6348f77faff1083d501950812ea9f68eb9547.tar.gz | |
Merge ssize_t branch.
Diffstat (limited to 'Python/thread_nt.h')
| -rw-r--r-- | Python/thread_nt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h index 47c776f080..e52d288f21 100644 --- a/Python/thread_nt.h +++ b/Python/thread_nt.h @@ -170,7 +170,7 @@ bootstrap(void *call) long PyThread_start_new_thread(void (*func)(void *), void *arg) { - unsigned long rv; + uintptr_t rv; callobj obj; dprintf(("%ld: PyThread_start_new_thread called\n", @@ -186,7 +186,7 @@ PyThread_start_new_thread(void (*func)(void *), void *arg) return -1; rv = _beginthread(bootstrap, 0, &obj); /* use default stack size */ - if (rv == (unsigned long)-1) { + if (rv == (uintptr_t)-1) { /* I've seen errno == EAGAIN here, which means "there are * too many threads". */ |
