From 88f3087483578aa86ebdcd89608fe028eed1456c Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Sun, 29 Dec 2013 22:48:34 +0100 Subject: [PATCH] fix compiler warning in goracle backend --- modules/goraclebackend/soracle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/goraclebackend/soracle.cc b/modules/goraclebackend/soracle.cc index 9b4bc59a6..9825eee75 100644 --- a/modules/goraclebackend/soracle.cc +++ b/modules/goraclebackend/soracle.cc @@ -118,7 +118,7 @@ int SOracle::doCommand(const string &query) int getNumFields(const string& query) { string lquery=toLower(query); - char* delim[]={" from ", "\tfrom\t", "\tfrom ", " from\t", 0}; + const char* delim[]={" from ", "\tfrom\t", "\tfrom ", " from\t", 0}; int n=0; string::size_type pos; for(n=0; delim[n] && (pos=lquery.find(delim[n]))==string::npos; ++n) -- 2.40.0