From 1826e7365df25561173f528c15c448f52299a7bf Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 23 Jan 2007 12:32:06 +0000 Subject: [PATCH] Fix warnings. --- src/hostkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hostkey.c b/src/hostkey.c index 16d4fae3..907e7c5a 100644 --- a/src/hostkey.c +++ b/src/hostkey.c @@ -99,7 +99,7 @@ libssh2_hostkey_method_ssh_rsa_init(LIBSSH2_SESSION *session, * Load a Private Key from a PEM file */ static int libssh2_hostkey_method_ssh_rsa_initPEM(LIBSSH2_SESSION *session, - const char *privkeyfile, unsigned const char *passphrase, void **abstract) + unsigned const char *privkeyfile, unsigned const char *passphrase, void **abstract) { libssh2_rsa_ctx *rsactx; FILE *fp; @@ -257,7 +257,7 @@ libssh2_hostkey_method_ssh_dss_init(LIBSSH2_SESSION *session, * Load a Private Key from a PEM file */ static int libssh2_hostkey_method_ssh_dss_initPEM(LIBSSH2_SESSION *session, - const char *privkeyfile, + unsigned const char *privkeyfile, unsigned const char *passphrase, void **abstract) {