summaryrefslogtreecommitdiff
path: root/ept
diff options
context:
space:
mode:
authorEnrico Zini <enrico@enricozini.org>2009-09-29 15:23:55 +0100
committerEnrico Zini <enrico@enricozini.org>2009-09-29 15:23:55 +0100
commit05ba346357197c9da118641c4096dc06f5a880c4 (patch)
tree956594426cfea57751553f49418f15004b8ae9ed /ept
parent006621455482edd8abf46a05292120745f99f7ec (diff)
downloadlibept-05ba346357197c9da118641c4096dc06f5a880c4.tar.gz
Added missing const. Closes: #547421 Thanks Stefan Potyra.
Diffstat (limited to 'ept')
-rw-r--r--ept/debtags/vocabulary.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ept/debtags/vocabulary.cc b/ept/debtags/vocabulary.cc
index 364fd94..2983fad 100644
--- a/ept/debtags/vocabulary.cc
+++ b/ept/debtags/vocabulary.cc
@@ -189,7 +189,7 @@ void Vocabulary::parseVocBuf(std::map<std::string, std::string>& res, size_t ofs
std::string Vocabulary::tagShortName(int id) const
{
const char* fullname = tindex.name(id);
- char* sub = strstr(fullname, "::");
+ const char* sub = strstr(fullname, "::");
if (sub != NULL)
return sub + 2;
else