mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
Made some function parameters in the API const. This is an API change,
but correctly-written applications should see no source or binary compatibility issues. Also fixed a few compiler warnings.
This commit is contained in:
@@ -130,7 +130,7 @@ static const short libssh2_base64_reverse_table[256] = {
|
||||
* Decode a base64 chunk and store it into a newly alloc'd buffer
|
||||
*/
|
||||
LIBSSH2_API int libssh2_base64_decode(LIBSSH2_SESSION *session, char **data, unsigned int *datalen,
|
||||
char *src, unsigned int src_len)
|
||||
const char *src, unsigned int src_len)
|
||||
{
|
||||
unsigned char *s, *d;
|
||||
short v;
|
||||
|
||||
Reference in New Issue
Block a user