diff svr-authpubkeyoptions.c @ 1129:45830474d83c coverity

merge up to date, attempt to fix travis.yml
author Matt Johnston <matt@ucc.asn.au>
date Fri, 12 Jun 2015 23:02:15 +0800
parents c45d65392c1a
children 5709b15a1b57
line wrap: on
line diff
--- a/svr-authpubkeyoptions.c	Tue Apr 14 20:44:30 2015 +0800
+++ b/svr-authpubkeyoptions.c	Fri Jun 12 23:02:15 2015 +0800
@@ -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;
 	}