HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31693a8
)
apt-pkg/contrib/sha1.cc: fix sha1 hashsum by using the right type for "res" avoiding...
author
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 5 Jul 2011 12:06:12 +0000
(14:06 +0200)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 5 Jul 2011 12:06:12 +0000
(14:06 +0200)
apt-pkg/contrib/sha1.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/contrib/sha1.cc
b/apt-pkg/contrib/sha1.cc
index
0b1c16d
..
9a6725e
100644
(file)
--- 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)