summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/md5.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-05 14:44:50 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-05 14:44:50 +0200
commit64767f14595065d1c0f37c1b4a6047032b5c5ed7 (patch)
tree310ee1051f578f0322035a87f49522050f4438a2 /apt-pkg/contrib/md5.cc
parenta7cc05842482e721ba66fb09f0b0858678138832 (diff)
apt-pkg/contrib/md5.cc: fix md5sum by using the right type (unsinged char*) and avoiding a implicit cast this way
Diffstat (limited to 'apt-pkg/contrib/md5.cc')
-rw-r--r--apt-pkg/contrib/md5.cc2
1 files changed, 1 insertions, 1 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;
}
/*}}}*/