aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-02-02 15:22:26 +0000
committerAndreas Schneider <mail@cynapses.org>2009-02-02 15:22:26 +0000
commit948c3f1befb2ae25f5b8ae277f6cac1a9853b399 (patch)
treee59e97031879173f92e56a7142e233ba9efd2e59 /include
parent55c7cc683921ea7f4b640184cd13a90656d097ef (diff)
downloadlibssh-948c3f1befb2ae25f5b8ae277f6cac1a9853b399.tar.gz
libssh-948c3f1befb2ae25f5b8ae277f6cac1a9853b399.tar.xz
libssh-948c3f1befb2ae25f5b8ae277f6cac1a9853b399.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index eb2b466b..ef383015 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -185,7 +185,7 @@ const char *ssh_copyright(void);
/* makestring returns a newly allocated string from a char * ptr */
STRING *string_from_char(const char *what);
/* it returns the string len in host byte orders. str->size is big endian warning ! */
-int string_len(STRING *str);
+u32 string_len(STRING *str);
STRING *string_new(unsigned int size);
/* string_fill copies the data in the string. it does NOT check for boundary so allocate enough place with string_new */
void string_fill(STRING *str, const void *data,int len);