diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-09-17 09:54:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-09-17 09:54:45 +0900 |
commit | ec784ca9013d622dc027b273d0ee2c82883dca34 (patch) | |
tree | d3cf73893327c1da5069502acdd21a31ca7a5f24 /kftpgrabber/src/misc/libs/ssh/libssh.h | |
parent | c0822095d4f1706dc80a7b01a77516cd77d6e77d (diff) | |
download | kftpgrabber-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.h | 2 |
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); |