From 5d798f62257b29dbcb7a4bdc37e7585b4c4894a3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 2 Feb 2009 15:39:09 +0000 Subject: Use unsigned values for length in buffer functions. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@211 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/libssh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 5adfcf7a..9bde42e5 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -315,7 +315,7 @@ void buffer_free(BUFFER *buffer); /* buffer_get returns a pointer to the begining of the buffer. no position is taken into account */ void *buffer_get(BUFFER *buffer); /* same here */ -int buffer_get_len(BUFFER *buffer); +u32 buffer_get_len(BUFFER *buffer); /* in auth.c */ -- cgit