We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0831b55 commit c2cc02eCopy full SHA for c2cc02e
src/filent.c
@@ -256,7 +256,7 @@ file_archscan(
256
struct ar_hdr ar_hdr;
257
char *string_table = 0;
258
char buf[ MAXJPATH ];
259
- long offset;
+ __int64 offset;
260
int fd;
261
262
if( ( fd = open( archive, O_RDONLY | O_BINARY, 0 ) ) < 0 )
@@ -348,7 +348,7 @@ file_archscan(
348
#endif
349
350
offset += SARHDR + lar_size;
351
- lseek( fd, offset, 0 );
+ _lseeki64( fd, offset, 0 );
352
}
353
354
#ifdef OPT_FIX_NT_ARSCAN_LEAK
0 commit comments