From 54e0b6c66b78b0f9035ec06e959428cd200289c1 Mon Sep 17 00:00:00 2001 From: Paul Cruz Date: Thu, 15 Jun 2017 16:01:52 -0700 Subject: [PATCH] got rid of imlpicit precision loss --- programs/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/fileio.c b/programs/fileio.c index 23c8badc6..e76f93791 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -920,7 +920,7 @@ static int getFileInfo(fileInfo_t* info, const char* inFileName){ { /* move to the end of the frame header */ - int const ret = fseek(srcFile, headerSize-numBytesRead, SEEK_CUR); + int const ret = fseek(srcFile, (long)(headerSize-numBytesRead), SEEK_CUR); if (ret != 0) { DISPLAY("Error: could not move to end of frame header\n"); detectError = 1;