]> git.pld-linux.org Git - packages/DevIL.git/blame - DevIL-jasper3.patch
- rediffed patches, added jasper3 patch to adjust to jasper 3.0.x API; release 2
[packages/DevIL.git] / DevIL-jasper3.patch
CommitLineData
68f7077d
JB
1--- DevIL/DevIL/src-IL/src/il_jp2.cpp.orig 2017-01-02 01:03:56.000000000 +0100
2+++ DevIL/DevIL/src-IL/src/il_jp2.cpp 2023-03-25 10:49:09.046523087 +0100
3@@ -314,13 +314,13 @@ ILboolean iLoadJp2Internal(jas_stream_t
4
5
6
7-static int iJp2_file_read(jas_stream_obj_t *obj, char *buf, int cnt)
8+static ssize_t iJp2_file_read(jas_stream_obj_t *obj, char *buf, size_t cnt)
9 {
10 obj;
11 return iread(buf, 1, cnt);
12 }
13
14-static int iJp2_file_write(jas_stream_obj_t *obj, char *buf, int cnt)
15+static ssize_t iJp2_file_write(jas_stream_obj_t *obj, const char *buf, size_t cnt)
16 {
17 obj;
18 return iwrite(buf, 1, cnt);
This page took 0.0472359999999999 seconds and 4 git commands to generate.