403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
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/textproc/uim/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/textproc/uim/files/patch-xim_convdisp.cpp
--- xim/convdisp.cpp.orig	2022-03-18 00:54:17 UTC
+++ xim/convdisp.cpp
@@ -81,14 +81,14 @@ init_default_xftfont() {
     gXftFont = XftFontOpen(XimServer::gDpy, DefaultScreen(XimServer::gDpy),
 		    XFT_FAMILY, XftTypeString, fontname,
 		    XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE,
-		    NULL);
+		    (char *)NULL);
     gXftFontLocale = strdup(setlocale(LC_CTYPE, NULL));
     // maybe not needed, but in case it return NULL...
     if (!gXftFont) {
 	gXftFont = XftFontOpen(XimServer::gDpy, DefaultScreen(XimServer::gDpy),
 			XFT_FAMILY, XftTypeString, "Sans",
 			XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE,
-			NULL);
+			(char *)NULL);
     }
 }
 
@@ -106,7 +106,7 @@ update_default_xftfont() {
 			DefaultScreen(XimServer::gDpy),
 			XFT_FAMILY, XftTypeString, fontname,
 			XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE,
-			NULL);
+			(char *)NULL);
 	if (xftfont) {
 	    if (gXftFont)
 		XftFontClose(XimServer::gDpy, gXftFont);
@@ -385,7 +385,7 @@ PeWin::PeWin(Window pw, const char *im_lang, const cha
 			    DefaultScreen(XimServer::gDpy),
 			    XFT_FAMILY, XftTypeString, gXftFontName,
 			    XFT_PIXEL_SIZE, XftTypeDouble, (double)mXftFontSize,
-			    NULL);
+			    (char *)NULL);
 	}
 	mXftDraw = XftDrawCreate(XimServer::gDpy, mPixmap,
 			DefaultVisual(XimServer::gDpy, scr_num),
@@ -555,7 +555,7 @@ void PeWin::set_xftfont(const char *xfld)
 			    DefaultScreen(XimServer::gDpy),
 			    XFT_FAMILY, XftTypeString, gXftFontName,
 			    XFT_PIXEL_SIZE, XftTypeDouble, (double)size,
-			    NULL);
+			    (char *)NULL);
 	    mXftFontSize = size;
 	}
 }

Youez - 2016 - github.com/yon3zu
LinuXploit