aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-17 13:30:13 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-14 10:40:32 +0100
commit16fbdb2a8d4f8d6c2f3c45829e181109b5991a34 (patch)
tree593f7f5cd32d0639cd168d108ff55d1ae2cbf5f2 /nx-X11
parenta2741452473a3dbf2ec24bc944e9b5183b2486f7 (diff)
downloadnx-libs-16fbdb2a8d4f8d6c2f3c45829e181109b5991a34.tar.gz
nx-libs-16fbdb2a8d4f8d6c2f3c45829e181109b5991a34.tar.bz2
nx-libs-16fbdb2a8d4f8d6c2f3c45829e181109b5991a34.zip
Xserver/GL/glx/glxfb.c: Fix compiler warning: pointer-sign.
glxfb.c: In function '__glXFBMemSwapBuffers': glxfb.c:117:5: warning: pointer targets in passing argument 10 of 'pGC->ops->PutImage' differ in signedness [-Wpointer-sign] buf); ^~~ glxfb.c:117:5: note: expected 'char *' but argument is of type 'GLubyte * {aka unsigned char *}'
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/GL/glx/glxfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/GL/glx/glxfb.c b/nx-X11/programs/Xserver/GL/glx/glxfb.c
index 7248b6ffb..13f02d448 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxfb.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxfb.c
@@ -113,7 +113,7 @@ __glXFBMemSwapBuffers(__GLXdrawablePrivate *glxPriv)
depth,
0, 0, width, height,
pad, ZPixmap,
- buf);
+ (char *)buf);
return GL_TRUE;
}