Hi, how to solve this? I got from logs after compiled the server. (CentOS)
CC pc.c
pc.c: In function 'pc_inventory_rental_clear':
pc.c:503: warning: passing argument 2 of 'delete_timer' from incompatible pointer type
../common/timer.h:45: note: expected 'TimerFunc' but argument is of type 'bool (*)(int, unsigned int, int, intptr_t)'
pc.c: In function 'pc_inventory_rentals':
pc.c:536: warning: passing argument 2 of 'add_timer' from incompatible pointer type
../common/timer.h:42: note: expected 'TimerFunc' but argument is of type 'bool (*)(int, unsigned int, int, intptr_t)'
pc.c: In function 'pc_inventory_rental_add':
pc.c:559: warning: passing argument 2 of 'add_timer' from incompatible pointer type
../common/timer.h:42: note: expected 'TimerFunc' but argument is of type 'bool (*)(int, unsigned int, int, intptr_t)'
pc.c:562: warning: passing argument 2 of 'add_timer' from incompatible pointer type
../common/timer.h:42: note: expected 'TimerFunc' but argument is of type 'bool (*)(int, unsigned int, int, intptr_t)'
pc.c: In function 'do_init_pc':
pc.c:12051: warning: passing argument 1 of 'add_timer_func_list' from incompatible pointer type
../common/timer.h:50: note: expected 'TimerFunc' but argument is of type 'bool (*)(int, unsigned int, int, intptr_t)'
Question
Miemie
Hi, how to solve this? I got from logs after compiled the server. (CentOS)
Edited by Miemie5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.