summaryrefslogtreecommitdiffstats
path: root/libssh/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/string.c')
-rw-r--r--libssh/string.c2
1 files changed, 1 insertions, 1 deletions
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);
}