diff options
author | Gaël PORTAY <gael.portay@gmail.com> | 2015-05-02 15:59:06 +0200 |
---|---|---|
committer | Gaël PORTAY <gael.portay@gmail.com> | 2015-05-05 20:39:13 +0200 |
commit | 224b16b2470ab764e854eb4a7cdd568353655afc (patch) | |
tree | eba9e3ed33fd1c66c6286abaf3f3e383f2eb8504 /svr-authpubkeyoptions.c | |
parent | ef0aac432c986f52a1b973bcd73ddf7324e0e70f (diff) |
Fix pointer differ in signess warnings [-Werror=pointer-sign]
Diffstat (limited to 'svr-authpubkeyoptions.c')
-rw-r--r-- | svr-authpubkeyoptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |