aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-08-30 08:52:42 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-30 08:52:42 +0200
commit11d87238b86732d53378e8acf792838914a38f14 (patch)
tree8fc749c467feac68b4af7e087bb1bd17369f7dac
parent8243030c55e4ab277981d3ea69f7863d5acd5da4 (diff)
downloadlibssh-11d87238b86732d53378e8acf792838914a38f14.tar.gz
libssh-11d87238b86732d53378e8acf792838914a38f14.tar.xz
libssh-11d87238b86732d53378e8acf792838914a38f14.zip
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>
-rw-r--r--src/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poll.c b/src/poll.c
index a12b4d36..8f4a0764 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -1015,7 +1015,7 @@ int ssh_event_remove_connector(ssh_event event, ssh_connector connector){
*/
void ssh_event_free(ssh_event event)
{
- int used, i;
+ size_t used, i;
ssh_poll_handle p;
if(event == NULL) {