aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_threads.c')
-rw-r--r--src/microhttpd/mhd_threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_threads.c b/src/microhttpd/mhd_threads.c
index 52aba875..f40480c6 100644
--- a/src/microhttpd/mhd_threads.c
+++ b/src/microhttpd/mhd_threads.c
@@ -215,13 +215,13 @@ MHD_create_thread_ (MHD_thread_handle_ID_ *thread,
215 215
216 return ! res; 216 return ! res;
217#elif defined(MHD_USE_W32_THREADS) 217#elif defined(MHD_USE_W32_THREADS)
218#if SIZE_MAX != UINT_MAX 218#if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_INT
219 if (stack_size > UINT_MAX) 219 if (stack_size > UINT_MAX)
220 { 220 {
221 errno = EINVAL; 221 errno = EINVAL;
222 return 0; 222 return 0;
223 } 223 }
224#endif /* SIZE_MAX != UINT_MAX */ 224#endif /* SIZEOF_SIZE_T != SIZEOF_UNSIGNED_INT */
225 225
226 thread->handle = (MHD_thread_handle_) 226 thread->handle = (MHD_thread_handle_)
227 _beginthreadex (NULL, 227 _beginthreadex (NULL,