summaryrefslogtreecommitdiffstats
path: root/Python/thread_nt.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-05-22 09:15:18 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-05-22 09:15:18 (GMT)
commita43190bc789bebfef15fb2b82f94a19a6bc80000 (patch)
treef0420e334066fe66b8c03a4931f5a2ddcb238342 /Python/thread_nt.h
parentf90347fdbb9a30468c41b52dd61151880247b4c7 (diff)
downloadcpython-a43190bc789bebfef15fb2b82f94a19a6bc80000.zip
cpython-a43190bc789bebfef15fb2b82f94a19a6bc80000.tar.gz
cpython-a43190bc789bebfef15fb2b82f94a19a6bc80000.tar.bz2
Patch #1492356: Port to Windows CE (patch set 1).
Diffstat (limited to 'Python/thread_nt.h')
-rw-r--r--Python/thread_nt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h
index e52d288..5141053 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)
{
- uintptr_t rv;
+ Py_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 == (uintptr_t)-1) {
+ if (rv == (Py_uintptr_t)-1) {
/* I've seen errno == EAGAIN here, which means "there are
* too many threads".
*/