summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-07-10 12:16:13 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-07-10 12:16:13 +0200
commitdd5e47ff5069e3859bd76d5fc8f6887121710556 (patch)
tree8f7c639fd8bb891b4b49da544be1fd3dcd368e95 /apt-pkg/contrib
parent30fd3c9f07a4222e55c6d776b2937c2697a79254 (diff)
parentcec8c646c79e40d928464b08a6f2e3ea62bb1611 (diff)
merge with debian-experimental
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/md5.cc2
-rw-r--r--apt-pkg/contrib/sha1.cc2
2 files changed, 2 insertions, 2 deletions
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;
}
/*}}}*/
diff --git a/apt-pkg/contrib/sha1.cc b/apt-pkg/contrib/sha1.cc
index 0b1c16dc3..9a6725ef3 100644
--- a/apt-pkg/contrib/sha1.cc
+++ b/apt-pkg/contrib/sha1.cc
@@ -229,7 +229,7 @@ SHA1SumValue SHA1Summation::Result()
// Transfer over the result
SHA1SumValue Value;
- char res[20];
+ unsigned char res[20];
for (unsigned i = 0; i < 20; i++)
{
res[i] = (unsigned char)