mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
changed implicit precision loss again
This commit is contained in:
parent
54e0b6c66b
commit
e49afae2ab
@ -920,7 +920,7 @@ static int getFileInfo(fileInfo_t* info, const char* inFileName){
|
|||||||
|
|
||||||
{
|
{
|
||||||
/* move to the end of the frame header */
|
/* move to the end of the frame header */
|
||||||
int const ret = fseek(srcFile, (long)(headerSize-numBytesRead), SEEK_CUR);
|
int const ret = fseek(srcFile, ((long)headerSize)-((long)numBytesRead), SEEK_CUR);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
DISPLAY("Error: could not move to end of frame header\n");
|
DISPLAY("Error: could not move to end of frame header\n");
|
||||||
detectError = 1;
|
detectError = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user