]> git.saurik.com Git - apt.git/commitdiff
pkgCacheGenerator::hash: Do not call tolower_ascii()
authorJulian Andres Klode <jak@debian.org>
Fri, 8 Jan 2016 00:34:53 +0000 (01:34 +0100)
committerJulian Andres Klode <jak@debian.org>
Fri, 8 Jan 2016 00:34:53 +0000 (01:34 +0100)
Gbp-Dch: ignore

apt-pkg/pkgcachegen.h

index d83ea6a25e3df4d020bcf2e8f63fca8b07002be4..d8d1e303aefce6ce8cfb926166f5e20d51a0afe3 100644 (file)
@@ -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;
       }
    };