diff --git a/src/server.c b/src/server.c index acde16b..3fbd284 100644 --- a/src/server.c +++ b/src/server.c @@ -225,7 +225,7 @@ static inline int client_by_sock(patty_ax25_server *server, goto error_dict_get; } - return (int)((int64_t)value); + return (int)((intptr_t)value); error_dict_get: return -1;