diff svr-authpubkeyoptions.c @ 1120:391bb7d560c6

Merge branch 'fix-pointer-sign-warnings' into fix-warnings
author Gaël PORTAY <gael.portay@gmail.com>
date Tue, 05 May 2015 20:42:38 +0200
parents c45d65392c1a
children 5709b15a1b57
line wrap: on
line diff
--- a/svr-authpubkeyoptions.c	Sat May 02 16:02:22 2015 +0200
+++ b/svr-authpubkeyoptions.c	Tue May 05 20:42:38 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;
 	}