mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 18:50:28 +09:00
poll: Fix size types in ssh_event_free()
src/poll.c:1024:9: error: assuming signed overflow does not occur when
simplifying conditional to constant [-Werror=strict-overflow]
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -1015,7 +1015,7 @@ int ssh_event_remove_connector(ssh_event event, ssh_connector connector){
|
|||||||
*/
|
*/
|
||||||
void ssh_event_free(ssh_event event)
|
void ssh_event_free(ssh_event event)
|
||||||
{
|
{
|
||||||
int used, i;
|
size_t used, i;
|
||||||
ssh_poll_handle p;
|
ssh_poll_handle p;
|
||||||
|
|
||||||
if(event == NULL) {
|
if(event == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user