- Fixed copy pasta errors in autosegs.h and other problems for GCC.
SVN r1404 (trunk)
This commit is contained in:
parent
7ee11638f2
commit
70aa9cb92a
4 changed files with 9 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue