1. 14 Dec, 2017 9 commits
    • Mike Gabriel's avatar
      Xserver/GL/glx/glxfb.c: Fix compiler warning: pointer-sign. · 16fbdb2a
      Mike Gabriel authored
       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 *}'
      16fbdb2a
    • Mike Gabriel's avatar
      hw/nxagent/Events.c: Fix compiler warnings (with NX_DEBUG_INPUT): format. · a2741452
      Mike Gabriel authored
       Events.c: In function 'nxagentDumpInputDevicesState':
       Events.c:4662:58: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'DeviceIntPtr {aka struct _DeviceIntRec *}' [-Wformat=]
          fprintf(stderr, "\nKeyboard device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                                                                 ^
       Events.c:4662:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'CARD32 {aka unsigned int}' [-Wformat=]
          fprintf(stderr, "\nKeyboard device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                                                                                        ^
       Events.c:4662:19: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'GrabPtr {aka struct _GrabRec *}' [-Wformat=]
          fprintf(stderr, "\nKeyboard device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                          ^
       Events.c:4675:66: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'WindowPtr {aka struct _Window *}' [-Wformat=]
            fprintf(stderr, "\nKeyboard grab state: \n\twindow pointer [%p]"
                                                                         ^
       Events.c:4689:59: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'DeviceIntPtr {aka struct _DeviceIntRec *}' [-Wformat=]
              fprintf(stderr, "\nPassive grab state: \n\tdevice [%p]\n\towner events flag [%s]"
                                                                  ^
       Events.c:4689:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'Mask {aka unsigned int}' [-Wformat=]
              fprintf(stderr, "\nPassive grab state: \n\tdevice [%p]\n\towner events flag [%s]"
                              ^
       Events.c:4722:57: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'DeviceIntPtr {aka struct _DeviceIntRec *}' [-Wformat=]
          fprintf(stderr, "\nPointer device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                                                                ^
       Events.c:4722:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'CARD32 {aka unsigned int}' [-Wformat=]
          fprintf(stderr, "\nPointer device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                                                                                        ^
       Events.c:4722:19: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'GrabPtr {aka struct _GrabRec *}' [-Wformat=]
          fprintf(stderr, "\nPointer device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                          ^
       Events.c:4735:65: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'WindowPtr {aka struct _Window *}' [-Wformat=]
            fprintf(stderr, "\nPointer grab state: \n\twindow pointer [%p]"
                                                                        ^
       Events.c:4750:61: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'DeviceIntPtr {aka struct _DeviceIntRec *}' [-Wformat=]
                fprintf(stderr, "\nPassive grab state: \n\tdevice [%p]\n\towner events flag [%s]"
                                                                    ^
       Events.c:4750:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'Mask {aka unsigned int}' [-Wformat=]
                fprintf(stderr, "\nPassive grab state: \n\tdevice [%p]\n\towner events flag [%s]"
                                ^
      a2741452
    • Mike Gabriel's avatar
      hw/nxagent/NXxvdisp.c: Fix compiler warnings: misleading-indentation · 7aed70f1
      Mike Gabriel authored
       NXxvdisp.c: In function 'ProcXvDispatch':
       NXxvdisp.c:96:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
                else
                ^~~~
       NXxvdisp.c:99:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
                    break;
                    ^~~~~
       NXxvdisp.c:104:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
                else
                ^~~~
       NXxvdisp.c:107:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
                 break;
                 ^~~~~
       NXxvdisp.c:118:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
         else
         ^~~~
       NXxvdisp.c:121:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
                    break;
                    ^~~~~
       NXxvdisp.c:126:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
         else
         ^~~~
       NXxvdisp.c:129:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
                    break;
                    ^~~~~
       NXxvdisp.c:137:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
         else
         ^~~~
       NXxvdisp.c:140:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
                    break;
                    ^~~~~
       NXxvdisp.c:146:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
         else
         ^~~~
       NXxvdisp.c:149:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
             break;
             ^~~~~
      7aed70f1
    • Mike Gabriel's avatar
      hw/nxagent/NXdispatch.c: Fix compiler warning: misleading-indentation · 72152baf
      Mike Gabriel authored
       NXdispatch.c: In function 'Dispatch':
       NXdispatch.c:309:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
           if (!(dispatchException & DE_TERMINATE))
           ^~
       NXdispatch.c:312:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
             while (!dispatchException)
             ^~~~~
      72152baf
    • Mike Gabriel's avatar
      Xserver/Xi/chgfctl.c: Fix compiler warning: misleading-indentation. · 6d98e538
      Mike Gabriel authored
       chgfctl.c: In function 'ChangeKbdFeedback':
       chgfctl.c:359:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
             else
             ^~~~
       chgfctl.c:361:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
          kctrl.autoRepeats[inx] =
          ^~~~~
      6d98e538
    • Mike Gabriel's avatar
    • Mike Gabriel's avatar
      8cade97b
    • Mike Gabriel's avatar
    • Mike Gabriel's avatar
      Add missing/renamed patches. (Ouch!). · 542b5b46
      Mike Gabriel authored
      542b5b46
  2. 13 Dec, 2017 24 commits
  3. 11 Dec, 2017 7 commits