diff --git a/source/src/main.cpp b/source/src/main.cpp index 59ee9819..2fde77ba 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -173,7 +173,7 @@ struct jpegscreenshotdest : jpeg_destination_mgr void flush(bool full) { - file->write(buf, (int)sizeof(buf) - (full ? 0 : free_in_buffer)); + file->write(buf, int(sizeof(buf) - (full ? 0 : free_in_buffer))); reset(); }