From 224b16b2470ab764e854eb4a7cdd568353655afc Mon Sep 17 00:00:00 2001 From: Gaƫl PORTAY Date: Sat, 2 May 2015 15:59:06 +0200 Subject: Fix pointer differ in signess warnings [-Werror=pointer-sign] --- svr-authpubkeyoptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svr-authpubkeyoptions.c') diff --git a/svr-authpubkeyoptions.c b/svr-authpubkeyoptions.c index 71d7c14..c296141 100644 --- a/svr-authpubkeyoptions.c +++ b/svr-authpubkeyoptions.c @@ -120,7 +120,7 @@ static int match_option(buffer *options_buf, const char *opt_name) { if (options_buf->len - options_buf->pos < len) { return DROPBEAR_FAILURE; } - if (strncasecmp(buf_getptr(options_buf, len), opt_name, len) == 0) { + if (strncasecmp((const char *) buf_getptr(options_buf, len), opt_name, len) == 0) { buf_incrpos(options_buf, len); return DROPBEAR_SUCCESS; } -- cgit v1.2.3