- Fixed copy pasta errors in autosegs.h and other problems for GCC.

SVN r1404 (trunk)
This commit is contained in:
Randy Heit 2009-02-05 04:18:08 +00:00
commit 70aa9cb92a
4 changed files with 9 additions and 8 deletions

View file

@ -101,7 +101,7 @@ void MD5Context::Update(FileReader *file, unsigned len)
while (len != 0)
{
t = MIN(len, sizeof(readbuf));
t = MIN<long>(len, sizeof(readbuf));
len -= t;
t = file->Read(readbuf, t);
Update(readbuf, t);
@ -249,8 +249,6 @@ MD5Transform(DWORD buf[4], const DWORD in[16])
#endif
#include "c_dispatch.h"
//==========================================================================
//
// CCMD md5sum
@ -259,6 +257,9 @@ MD5Transform(DWORD buf[4], const DWORD in[16])
//
//==========================================================================
#include "c_dispatch.h"
#include <errno.h>
CCMD (md5sum)
{
if (argv.argc() < 2)