summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-01-26 14:42:49 +0100
committerAndreas Schneider <mail@cynapses.org>2010-01-29 18:54:48 +0100
commitdd68bae776536e8816ed369b6e17e09aeb3cf46e (patch)
tree0740f020f605e9d9c124b07fc74707a1729b3c64 /include
parent4768cf3e8523d3b432128a35a5cfae045c073edb (diff)
downloadlibssh-dd68bae776536e8816ed369b6e17e09aeb3cf46e.tar.gz
libssh-dd68bae776536e8816ed369b6e17e09aeb3cf46e.tar.xz
libssh-dd68bae776536e8816ed369b6e17e09aeb3cf46e.zip
Fix underflow when leave_function() are unbalanced
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h2
1 files changed, 1 insertions, 1 deletions
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];
};