• Mike Gabriel's avatar
    hw/nxagent/Display.c: Avoid incompatible pointer type. · 52dc4960
    Mike Gabriel authored
     Amends the following compiler warning
    
     Display.c: In function ‘nxagentMakeIcon’:
     Display.c:1949:18: warning: assignment from incompatible pointer type
          agentIconData=x2goagentIconData;
                      ^
     Display.c:1954:18: warning: assignment from incompatible pointer type
          agentIconData=nxagentIconData;
                      ^
     Display.c:2001:41: warning: passing argument 3 of ‘XpmCreatePixmapFromData’ from incompatible pointer type
                                              agentIconData,
                                              ^
     In file included from Icons.h:22:0,
                      from Display.c:67:
     X11/include/xpm_nxagent.h:242:6: note: expected ‘char **’ but argument is of type ‘char *’
      FUNC(XpmCreatePixmapFromData, int, (Display *display,
           ^
     X11/include/xpm_nxagent.h:230:32: note: in definition of macro ‘FUNC’
      #define FUNC(f, t, p) extern t f p
    52dc4960
Name
Last commit
Last update
..
config Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
programs Loading commit data...
BUILD Loading commit data...
CHANGELOG Loading commit data...
COPYING Loading commit data...
ChangeLog.X.org Loading commit data...
Imakefile Loading commit data...
LABEL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
README.crypto Loading commit data...
RELNOTES Loading commit data...
registry Loading commit data...
xf86Date.h Loading commit data...