Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Aug 17, 2023
1 parent baad8d1 commit 4e74663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CImg.h
Original file line number Diff line number Diff line change
Expand Up @@ -7387,7 +7387,7 @@ namespace cimg_library {
**/
inline cimg_int64 fsize(std::FILE *const file) {
if (!file) return (cimg_int64)-1;
long pos = std::ftell(file)
const long pos = std::ftell(file);
std::fseek(file,0,SEEK_END);
const cimg_int64 siz = (cimg_int64)std::ftell(file);
std::fseek(file,pos,SEEK_SET);
Expand Down

0 comments on commit 4e74663

Please sign in to comment.