summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-01-08 01:34:53 +0100
committerJulian Andres Klode <jak@debian.org>2016-01-08 01:34:53 +0100
commita0e3c0f55dc20b90f5f7d6d162135c9fef370686 (patch)
tree6fdfa2d09d9183b0fd9d75e73e39c52cfedd41fe
parent869700d839a1695fe00734592bd504d59386e4b9 (diff)
pkgCacheGenerator::hash: Do not call tolower_ascii()
Gbp-Dch: ignore
-rw-r--r--apt-pkg/pkgcachegen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcachegen.h b/apt-pkg/pkgcachegen.h
index d83ea6a25..d8d1e303a 100644
--- a/apt-pkg/pkgcachegen.h
+++ b/apt-pkg/pkgcachegen.h
@@ -67,7 +67,7 @@ class APT_HIDDEN pkgCacheGenerator /*{{{*/
uint32_t Hash = 5381;
const char * const end = that.data() + that.size;
for (const char *I = that.data(); I != end; ++I)
- Hash = 33 * Hash + tolower_ascii((signed char)*I);
+ Hash = 33 * Hash + *I;
return Hash;
}
};