From: Michael Vogt Date: Tue, 5 Jul 2011 12:44:50 +0000 (+0200) Subject: apt-pkg/contrib/md5.cc: fix md5sum by using the right type (unsinged char*) and avoid... X-Git-Tag: 0.9.0~86^2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/64767f14595065d1c0f37c1b4a6047032b5c5ed7?hp=--cc apt-pkg/contrib/md5.cc: fix md5sum by using the right type (unsinged char*) and avoiding a implicit cast this way --- 64767f14595065d1c0f37c1b4a6047032b5c5ed7 diff --git a/apt-pkg/contrib/md5.cc b/apt-pkg/contrib/md5.cc index 6c60ffd74..6820d3951 100644 --- a/apt-pkg/contrib/md5.cc +++ b/apt-pkg/contrib/md5.cc @@ -298,7 +298,7 @@ MD5SumValue MD5Summation::Result() } MD5SumValue V; - V.Set((char *)buf); + V.Set((unsigned char *)buf); return V; } /*}}}*/