dbghelp: Increase file read buffer size for calc_crc32.

This commit is contained in:
Ken Thomases 2009-03-11 09:09:07 -05:00 committed by Alexandre Julliard
parent 637827a2d0
commit df0f32bbd9
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ DWORD calc_crc32(int fd)
0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d
};
int i, r;
unsigned char buffer[256];
unsigned char buffer[8192];
DWORD crc = ~0;
lseek(fd, 0, SEEK_SET);