From dd68bae776536e8816ed369b6e17e09aeb3cf46e Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 26 Jan 2010 14:42:49 +0100 Subject: Fix underflow when leave_function() are unbalanced --- include/libssh/priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index b651a792..ed607da7 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -77,7 +77,7 @@ typedef struct kex_struct { struct error_struct { /* error handling */ - int error_code; + unsigned int error_code; char error_buffer[ERROR_BUFFERLEN]; }; -- cgit