summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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];
};