diff options
author | Enrico Zini <enrico@enricozini.org> | 2009-09-29 15:23:55 +0100 |
---|---|---|
committer | Enrico Zini <enrico@enricozini.org> | 2009-09-29 15:23:55 +0100 |
commit | 05ba346357197c9da118641c4096dc06f5a880c4 (patch) | |
tree | 956594426cfea57751553f49418f15004b8ae9ed | |
parent | 006621455482edd8abf46a05292120745f99f7ec (diff) | |
download | libept-05ba346357197c9da118641c4096dc06f5a880c4.tar.gz |
Added missing const. Closes: #547421 Thanks Stefan Potyra.
-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 |