diff options
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 7ca140159..9a69d9fe7 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -682,7 +682,7 @@ int auth_db_cleanup_sub(DBKey key,void *data,va_list ap) return 0; } -int auth_db_cleanup(int tid, unsigned int tick, int id, int data) +int auth_db_cleanup(int tid, unsigned int tick, int id, intptr data) { if(!chrif_isconnected()) return 0; auth_db->foreach(auth_db, auth_db_cleanup_sub); @@ -1506,7 +1506,7 @@ int chrif_parse(int fd) return 0; } -int ping_char_server(int tid, unsigned int tick, int id, int data) +int ping_char_server(int tid, unsigned int tick, int id, intptr data) { chrif_check(-1); chrif_keepalive(char_fd); @@ -1514,7 +1514,7 @@ int ping_char_server(int tid, unsigned int tick, int id, int data) } // unused -int send_usercount_tochar(int tid, unsigned int tick, int id, int data) +int send_usercount_tochar(int tid, unsigned int tick, int id, intptr data) { chrif_check(-1); @@ -1565,7 +1565,7 @@ int send_users_tochar(void) * timer関数 * char鯖との接続を確認し、もし切れていたら再度接続する *------------------------------------------*/ -int check_connect_char_server(int tid, unsigned int tick, int id, int data) +int check_connect_char_server(int tid, unsigned int tick, int id, intptr data) { static int displayed = 0; if (char_fd <= 0 || session[char_fd] == NULL) |