mirror of
https://github.com/Zxilly/UA2F.git
synced 2025-12-29 22:40:14 +00:00
fix: cache.c warning that incompatible-pointer-types check
The definition of the third parameter of pthread is void *(*start_routine)(void *) Signed-off-by: miny1233 <36765446+miny1233@users.noreply.github.com>
This commit is contained in:
parent
431824a007
commit
448c047601
@ -14,7 +14,7 @@ pthread_rwlock_t cacheLock;
|
||||
struct cache *not_http_dst_cache = NULL;
|
||||
static int check_interval;
|
||||
|
||||
_Noreturn static void check_cache() {
|
||||
_Noreturn static void* check_cache(void*) {
|
||||
while (true) {
|
||||
pthread_rwlock_wrlock(&cacheLock);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user