PhotoRec: minor optimisation for zip recovery

This commit is contained in:
Christophe Grenier 2008-08-21 00:07:57 +02:00
parent 3eae46fa8f
commit 016d8181ba

View file

@ -105,7 +105,7 @@ static int64_t file_get_pos(FILE *f, const void* needle, const unsigned int size
{
int count = 0;
unsigned int left;
unsigned int read_size= fread(buffer, 1, 4096, f);
const unsigned int read_size= fread(buffer, 1, 4096, f);
left = read_size;
while (left>=size)