<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- codecs/jpeg2000.cc.orig	2022-03-18 01:34:48.000000000 -0700
+++ codecs/jpeg2000.cc	2022-03-18 01:38:53.000000000 -0700
@@ -67,14 +67,14 @@
   return stream;
 }
 
-static int cpp_jas_read (jas_stream_obj_t* obj, char* buf, int cnt)
+static int cpp_jas_read (jas_stream_obj_t* obj, char* buf, unsigned int cnt)
 {
   std::istream* stream = (std::istream*) obj;
   stream-&gt;read (buf, cnt);
   return cnt;
 }
 
-static int cpp_jas_write (jas_stream_obj_t* obj, char* buf, int cnt)
+static int cpp_jas_write (jas_stream_obj_t* obj, const char* buf, unsigned int cnt)
 {
   std::ostream* stream = (std::ostream*) obj;
   stream-&gt;write (buf, cnt);
</pre></body></html>