summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:09 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:09 +0000
commit59257a2194aa56dc0bb6d7bd150c8bfc67b5b53a (patch)
tree85bb0d3af9a745c25f6f819278468a0051c5f52c /apt-pkg
parent4741d95c0c08c24d64b8acefaa4fc137f368301d (diff)
Fixed cast macro in byteswap
Author: jgg Date: 1999-11-14 01:47:55 GMT Fixed cast macro in byteswap
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/md5.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/md5.cc b/apt-pkg/contrib/md5.cc
index 2beaa1204..962d22066 100644
--- a/apt-pkg/contrib/md5.cc
+++ b/apt-pkg/contrib/md5.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: md5.cc,v 1.6 1999/10/31 06:32:28 jgg Exp $
+// $Id: md5.cc,v 1.7 1999/11/14 01:47:55 jgg Exp $
/* ######################################################################
MD5Sum - MD5 Message Digest Algorithm.
@@ -59,7 +59,7 @@ static void byteSwap(uint8_t *buf, unsigned words)
do
{
- *buf++ = (UINT32)((unsigned)p[3] << 8 | p[2]) << 16 |
+ *buf++ = (uint32_t)((unsigned)p[3] << 8 | p[2]) << 16 |
((unsigned)p[1] << 8 | p[0]);
p += 4;
} while (--words);