Mercurial > dropbear
diff svr-authpubkeyoptions.c @ 1094:c45d65392c1a
Fix pointer differ in signess warnings [-Werror=pointer-sign]
author | Gaël PORTAY <gael.portay@gmail.com> |
---|---|
date | Sat, 02 May 2015 15:59:06 +0200 |
parents | 405418f7dc5e |
children | 5709b15a1b57 |
line wrap: on
line diff
--- a/svr-authpubkeyoptions.c Sat May 02 16:02:22 2015 +0200 +++ b/svr-authpubkeyoptions.c Sat May 02 15:59:06 2015 +0200 @@ -120,7 +120,7 @@ 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; }