Use intptr_t, not int64_t, for pointer->int casts

This commit is contained in:
XANTRONIX Development 2020-10-22 23:04:52 +01:00 committed by XANTRONIX Industrial
parent c359682928
commit 1ca11de03f

View file

@ -225,7 +225,7 @@ static inline int client_by_sock(patty_ax25_server *server,
goto error_dict_get; goto error_dict_get;
} }
return (int)((int64_t)value); return (int)((intptr_t)value);
error_dict_get: error_dict_get:
return -1; return -1;