--- performous-1.1/common/image.cc 2016-01-23 11:40:01.000000000 +0100 +++ performous-1.1.new/common/image.cc 2016-02-03 13:24:59.000000000 +0100 @@ -180,7 +180,7 @@ } jpeg_create_decompress(&cinfo); jpeg_mem_src(&cinfo, data.data(), data.size()); - if (jpeg_read_header(&cinfo, true) != JPEG_HEADER_OK) throw std::runtime_error("Cannot read header of " + filename.string()); + if (jpeg_read_header(&cinfo, TRUE) != JPEG_HEADER_OK) throw std::runtime_error("Cannot read header of " + filename.string()); jpeg_start_decompress(&cinfo); bitmap.resize(cinfo.output_width, cinfo.output_height); unsigned stride = (bitmap.width * 3 + 3) & ~3; // Number of bytes per row (word-aligned)