summaryrefslogtreecommitdiff
path: root/ept
diff options
context:
space:
mode:
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