From 6d556755ee437768569b14561fe28b6167e4b010 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 11 Jul 2015 02:08:16 +0900 Subject: [PATCH] Attemp to fix travis build error --- src/shrpx_config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_config.cc b/src/shrpx_config.cc index 3fdbe425..11f29bb0 100644 --- a/src/shrpx_config.cc +++ b/src/shrpx_config.cc @@ -511,7 +511,7 @@ int parse_config(const char *opt, const char *optarg) { if (util::strieq(opt, SHRPX_OPT_BACKEND)) { auto optarglen = strlen(optarg); - auto pat_delim = strchr(optarg, ';'); + const char *pat_delim = strchr(optarg, ';'); if (!pat_delim) { pat_delim = optarg + optarglen; }