Fix build with jasper 2.0. Release 9
[packages/gdal.git] / gdal-uchar.patch
1 diff -up gdal-2.1.2-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp.uchar~ gdal-2.1.2-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp
2 --- gdal-2.1.2-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp.uchar~        2016-12-01 09:14:51.768247534 -0700
3 +++ gdal-2.1.2-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp       2016-12-01 09:15:14.503375681 -0700
4 @@ -209,7 +209,7 @@ static void JPEG2000_VSIL_jas_stream_ini
5                         /* The buffer must be large enough to accommodate maximum\r
6                           putback. */\r
7                         assert(bufsize > JAS_STREAM_MAXPUTBACK);\r
8 -                       stream->bufbase_ = JAS_CAST(uchar *, buf);\r
9 +                       stream->bufbase_ = JAS_CAST(unsigned char *, buf);\r
10                         stream->bufsize_ = bufsize - JAS_STREAM_MAXPUTBACK;\r
11                 }\r
12         } else {\r
This page took 0.031737 seconds and 3 git commands to generate.