aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-10-16 00:02:41 +0200
committerUlrich Sibiller <u.sibiller@science-computing.de>2016-10-20 10:16:35 +0200
commitc180a21473b7a3883704b0e361e9ed4ab7b78c50 (patch)
treeec9d2a86e3425eed4bac9948e3b2d8f884d55bf7 /nx-X11/programs/Xserver
parent185fbdaf97def90b203d09868d6e30dd761c68fe (diff)
downloadnx-libs-c180a21473b7a3883704b0e361e9ed4ab7b78c50.tar.gz
nx-libs-c180a21473b7a3883704b0e361e9ed4ab7b78c50.tar.bz2
nx-libs-c180a21473b7a3883704b0e361e9ed4ab7b78c50.zip
security.c: fix compiler warnings
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/Xext/security.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/Xext/security.c b/nx-X11/programs/Xserver/Xext/security.c
index 1071565f3..c1b7b50a9 100644
--- a/nx-X11/programs/Xserver/Xext/security.c
+++ b/nx-X11/programs/Xserver/Xext/security.c
@@ -148,7 +148,7 @@ int (*SwappedUntrustedProcVector[256])(
* try a set of well known paths.
*/
-const char *_NXGetPolicyFilePath(const char *path)
+char *_NXGetPolicyFilePath(const char *path)
{
struct stat SecurityPolicyStat;
@@ -1345,7 +1345,6 @@ SecurityCensorImage(client, pVisibleRegion, widthBytesLine, pDraw, x, y, w, h,
unsigned int format;
char * pBuf;
{
- ScreenPtr pScreen = pDraw->pScreen;
RegionRec imageRegion; /* region representing x,y,w,h */
RegionRec censorRegion; /* region to obliterate */
BoxRec imageBox;