summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/misc/libs/ssh/libssh.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-09-17 09:54:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-09-17 09:54:45 +0900
commitec784ca9013d622dc027b273d0ee2c82883dca34 (patch)
treed3cf73893327c1da5069502acdd21a31ca7a5f24 /kftpgrabber/src/misc/libs/ssh/libssh.h
parentc0822095d4f1706dc80a7b01a77516cd77d6e77d (diff)
downloadkftpgrabber-ec784ca9013d622dc027b273d0ee2c82883dca34.tar.gz
kftpgrabber-ec784ca9013d622dc027b273d0ee2c82883dca34.zip
Get rid of warning 'ISO C++11 does not allow conversion from string literal to char *' in sftp_canonicalize_path
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kftpgrabber/src/misc/libs/ssh/libssh.h')
-rw-r--r--kftpgrabber/src/misc/libs/ssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kftpgrabber/src/misc/libs/ssh/libssh.h b/kftpgrabber/src/misc/libs/ssh/libssh.h
index 81c586d..ae36acc 100644
--- a/kftpgrabber/src/misc/libs/ssh/libssh.h
+++ b/kftpgrabber/src/misc/libs/ssh/libssh.h
@@ -103,7 +103,7 @@ const char *ssh_copyright();
/* You can use these functions, they won't change */
/* makestring returns a newly allocated string from a char * ptr */
-STRING *string_from_char(char *what);
+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);
STRING *string_new(u32 size);