diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | ept/debtags/vocabulary.cc | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index c671c63..33f937f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libept (0.5.29) unstable; urgency=low + + * Added missing const. Closes: #547421 + Thanks Stefan Potyra. + + -- Enrico Zini <enrico@debian.org> Tue, 29 Sep 2009 15:09:47 +0100 + libept (0.5.28) unstable; urgency=low * Removed adept-specific code. Closes: #540209. 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 |