Use intptr_t, not int64_t, for pointer->int casts
This commit is contained in:
parent
c359682928
commit
1ca11de03f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue