diff --git a/uwsgi.c b/uwsgi.c index dfcd5ae2..ac943564 100644 --- a/uwsgi.c +++ b/uwsgi.c @@ -1370,7 +1370,7 @@ int uwsgi_start(void *v_argv) { } } else { - if (cst.st_size != uwsgi.cache_filesize || !S_ISREG(cst.st_mode)) { + if ((size_t)cst.st_size != uwsgi.cache_filesize || !S_ISREG(cst.st_mode)) { uwsgi_log("invalid cache store file. Please remove it or fix cache blocksize/items to match its size\n"); exit(1); } diff --git a/uwsgi.h b/uwsgi.h index b0163f75..159e9f8a 100644 --- a/uwsgi.h +++ b/uwsgi.h @@ -66,9 +66,6 @@ #include #include #include -#ifdef UWSGI_ASYNC -#include -#endif #ifdef __sun__ #define _XPG4_2 @@ -678,7 +675,6 @@ struct wsgi_request { int async_plagued; int suspended; - jmp_buf async_jmp_buf; int *ovector; size_t post_cl; @@ -968,8 +964,6 @@ struct uwsgi_server { struct wsgi_request *(*current_wsgi_req) (void); - jmp_buf async_jmp_buf; - // usedby suspend/resume loops void (*schedule_to_main) (struct wsgi_request *); void (*schedule_to_req) (void);