From 9592bac00d9506e5e6d7571228d8604ef5cf1a99 Mon Sep 17 00:00:00 2001 From: Nathan Jones Date: Fri, 10 Jul 2009 20:09:11 -0400 Subject: Compilation fixes for gcc 4.4 --- option.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'option.cc') diff --git a/option.cc b/option.cc index 10c23a70..8f2fead1 100644 --- a/option.cc +++ b/option.cc @@ -892,7 +892,7 @@ OPT_BEGIN(market, "V") { namespace { void parse_price_setting(const char * optarg) { - char * equals = std::strchr(optarg, '='); + const char * equals = std::strchr(optarg, '='); if (! equals) return; -- cgit v1.2.3