From ce9be6dfca2f700674bf8e0fd585162e2ed07409 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/libssh/priv.h') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 01a6a858..91f983b2 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -238,7 +238,7 @@ typedef struct signature_struct { struct error_struct { /* error handling */ - int error_code; + unsigned int error_code; char error_buffer[ERROR_BUFFERLEN]; }; -- cgit