summarylogtreecommitdiffstats
path: root/jpeg2000.patch
diff options
context:
space:
mode:
Diffstat (limited to 'jpeg2000.patch')
-rw-r--r--jpeg2000.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/jpeg2000.patch b/jpeg2000.patch
new file mode 100644
index 000000000000..cab21036727f
--- /dev/null
+++ b/jpeg2000.patch
@@ -0,0 +1,11 @@
+--- jpeg2000_vsil_io.cpp.old 2017-07-28 01:08:51.945036712 +0200
++++ jpeg2000_vsil_io.cpp 2017-07-28 00:55:03.743658821 +0200
+@@ -206,7 +206,7 @@
+ /* The buffer must be large enough to accommodate maximum
+ putback. */
+ assert(bufsize > JAS_STREAM_MAXPUTBACK);
+- stream->bufbase_ = JAS_CAST(uchar *, buf);
++ stream->bufbase_ = JAS_CAST(u_char *, buf);
+ stream->bufsize_ = bufsize - JAS_STREAM_MAXPUTBACK;
+ }
+ } else {