Signed-off-by: Stefan Metzmacher <metze@samba.org>
/*
* Note: this code is harmless on little-endian machines.
*/
-static void byteReverse(uint8_t *buf, uint_t longs)
+static void byteReverse(uint8_t *buf, unsigned int longs)
{
uint32_t t;
do {
- t = (uint32_t) ((uint_t) buf[3] << 8 | buf[2]) << 16 |
- ((uint_t) buf[1] << 8 | buf[0]);
+ t = (uint32_t) ((unsigned int) buf[3] << 8 | buf[2]) << 16 |
+ ((unsigned int) buf[1] << 8 | buf[0]);
*(uint32_t *) buf = t;
buf += 4;
} while (--longs);
*/
_PUBLIC_ void MD5Final(uint8_t digest[16], struct MD5Context *ctx)
{
- uint_t count;
+ unsigned int count;
uint8_t *p;
/* Compute number of bytes mod 64 */