From 948c3f1befb2ae25f5b8ae277f6cac1a9853b399 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 2 Feb 2009 15:22:26 +0000 Subject: The string_len function should return unsigned int. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@209 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh') diff --git a/libssh/string.c b/libssh/string.c index 45bd02cf..17f9cb85 100644 --- a/libssh/string.c +++ b/libssh/string.c @@ -63,7 +63,7 @@ STRING *string_from_char(const char *what){ * \param str the input SSH string * \return size of the content of str */ -int string_len(STRING *str){ +u32 string_len(STRING *str){ return ntohl(str->size); } -- cgit