aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-10-15 22:02:06 +0200
committerUlrich Sibiller <u.sibiller@science-computing.de>2016-10-20 10:16:35 +0200
commitd238db344d3ea7325205efe7fb75403c5a9643f2 (patch)
tree8a4ae202e2587cde1a3a850707f57b9a949bfd6e /nx-X11/programs
parent81a7c6cf4af6bb865fc18bb0bcc79421fed233c8 (diff)
downloadnx-libs-d238db344d3ea7325205efe7fb75403c5a9643f2.tar.gz
nx-libs-d238db344d3ea7325205efe7fb75403c5a9643f2.tar.bz2
nx-libs-d238db344d3ea7325205efe7fb75403c5a9643f2.zip
Window.c: Fix function assignment warning
Window.c: In function ‘nxagentFrameBufferPaintWindow’: Window.c:1968:31: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic] PaintWindowBackgroundBackup = pWin->drawable.pScreen -> PaintWindowBackground;
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index e39afe240..f81e08ebc 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -1953,7 +1953,7 @@ Bool nxagentUnrealizeWindow(pWin)
void nxagentFrameBufferPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what)
{
- void *PaintWindowBackgroundBackup;
+ void (*PaintWindowBackgroundBackup)(WindowPtr, RegionPtr, int);
if (pWin->backgroundState == BackgroundPixmap)
{