summaryrefslogtreecommitdiffhomepage
path: root/svr-authpubkeyoptions.c
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:42:38 +0200
committerGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:42:38 +0200
commit9fdab3ced8374b991bfadce0056cf5bdf7cfb3d6 (patch)
tree5da161bb2372d7a203dd39c616701ae090bb730d /svr-authpubkeyoptions.c
parentef0aac432c986f52a1b973bcd73ddf7324e0e70f (diff)
parent6e15e75391fc117125f50efd9f3d8ed646596da9 (diff)
Merge branch 'fix-pointer-sign-warnings' into fix-warnings
Diffstat (limited to 'svr-authpubkeyoptions.c')
-rw-r--r--svr-authpubkeyoptions.c2
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;
}