Ticket #51016: patch-src-gle-gle-poppler.cpp.diff

File patch-src-gle-gle-poppler.cpp.diff, 726 bytes (added by ryandesign (Ryan Carsten Schmidt), 8 years ago)
  • src/gle/gle-poppler.cpp

    old new  
    194194boolean gle_jpeg_empty_output_buffer(j_compress_ptr cinfo) {
    195195        gle_jpeg_term_destination(cinfo);
    196196        gle_jpeg_init_destination(cinfo);
    197         return true;
     197        return TRUE;
    198198}
    199199
    200200void gle_jpeg_memory_dest(j_compress_ptr cinfo, JOCTET* buffer, GLEWriteFuncAndClosure writeCallback) {
     
    237237        cinfo.in_color_space = JCS_RGB;
    238238    }
    239239    jpeg_set_defaults(&cinfo);
    240     jpeg_start_compress(&cinfo, true);
     240    jpeg_start_compress(&cinfo, TRUE);
    241241    JSAMPROW row = new JSAMPLE[cinfo.input_components * width];
    242242    JSAMPROW row_pointer[1];
    243243    row_pointer[0] = row;