]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/contrib/md5.cc: fix md5sum by using the right type (unsinged char*) and avoid...
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 5 Jul 2011 12:44:50 +0000 (14:44 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 5 Jul 2011 12:44:50 +0000 (14:44 +0200)
apt-pkg/contrib/md5.cc

index 6c60ffd743a69bfad91b7ce66031be367e34a831..6820d39516c6c0c44cb0205375c524f82cb11cd7 100644 (file)
@@ -298,7 +298,7 @@ MD5SumValue MD5Summation::Result()
    }
    
    MD5SumValue V;
-   V.Set((char *)buf);
+   V.Set((unsigned char *)buf);
    return V;
 }
                                                                        /*}}}*/