1. 27 Oct, 2015 1 commit
  2. 21 Oct, 2015 1 commit
  3. 19 Oct, 2015 2 commits
    • Jeremy Huddleston's avatar
      security: Silence some benign -Wformat warnings · a7a00e4b
      Jeremy Huddleston authored
      XID may be either 'unsigned long' or 'unsigned int' depending on:
      
      typedef unsigned long CARD64;
      typedef unsigned int CARD32;
      typedef unsigned long long CARD64;
      typedef unsigned long CARD32;
      
      typedef unsigned long XID;
      typedef CARD32 XID;
      
      so when building with -Wformat, we get some warnings that are benign.  This silences them.
      
      security.c:215:52: warning: format specifies type 'int' but the argument has type 'XID' (aka 'unsigned long')
            [-Wformat,Format String Issue]
          SecurityAudit("revoked authorization ID %d\n", pAuth->id);
                                                  ~~     ^~~~~~~~~
                                                  %lu
        CC       dpmsstubs.lo
      security.c:553:25: warning: format specifies type 'int' but the argument has type 'XID' (aka 'unsigned long')
            [-Wformat,Format String Issue]
               client->index, pAuth->id, pAuth->trustLevel, pAuth->timeout,
                              ^~~~~~~~~
      security.c:553:55: warning: format specifies type 'int' but the argument has type 'CARD32' (aka 'unsigned long')
            [-Wformat,Format String Issue]
               client->index, pAuth->id, pAuth->trustLevel, pAuth->timeout,
                                                            ^~~~~~~~~~~~~~
      security.c:554:10: warning: format specifies type 'int' but the argument has type 'XID' (aka 'unsigned long')
            [-Wformat,Format String Issue]
               pAuth->group, eventMask);
               ^~~~~~~~~~~~
      security.c:554:24: warning: format specifies type 'int' but the argument has type 'Mask' (aka 'unsigned long')
            [-Wformat,Format String Issue]
               pAuth->group, eventMask);
                             ^~~~~~~~~
      security.c:781:19: warning: format specifies type 'unsigned int' but the argument has type 'Mask' (aka 'unsigned
      long')
            [-Wformat,Format String Issue]
                        requested, rec->id, cid,
                        ^~~~~~~~~
      security.c:781:30: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long')
            [-Wformat,Format String Issue]
                        requested, rec->id, cid,
                                   ^~~~~~~
      security.c:863:23: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long')
            [-Wformat,Format String Issue]
                            rec->pWin->drawable.id, wClient(rec->pWin)->index,
                            ^~~~~~~~~~~~~~~~~~~~~~
      security.c:893:31: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long')
            [-Wformat,Format String Issue]
                                    rec->pWin->drawable.id,
                                    ^~~~~~~~~~~~~~~~~~~~~~
      security.c:915:39: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long')
            [-Wformat,Format String Issue]
                        rec->client->index, rec->pWin->drawable.id,
                                            ^~~~~~~~~~~~~~~~~~~~~~
      Signed-off-by: default avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      Reviewed-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      a7a00e4b
    • Jeremy Huddleston's avatar
      xres: Silence -Wunused-function warnings when building !COMPOSITE or !RENDER · aa73d587
      Jeremy Huddleston authored
      xres.c:422:1: warning: unused function 'ResFindCompositeClientWindowPixmaps' [-Wunused-function,Unused Entity Issue]
      ResFindCompositeClientWindowPixmaps (void *value, XID id, void *cdata)
      ^
      Signed-off-by: default avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      Reviewed-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      aa73d587
  4. 24 Sep, 2015 2 commits
  5. 08 Jul, 2015 1 commit
  6. 10 Jun, 2015 1 commit
  7. 07 May, 2015 2 commits
  8. 21 Apr, 2015 2 commits
  9. 13 Mar, 2015 1 commit
  10. 09 Dec, 2014 2 commits
  11. 12 Nov, 2014 2 commits
  12. 31 Oct, 2014 1 commit
  13. 27 Oct, 2014 1 commit
  14. 23 Oct, 2014 1 commit
  15. 09 Oct, 2014 1 commit
  16. 02 Oct, 2014 1 commit
  17. 07 Aug, 2014 10 commits
  18. 29 Jul, 2014 1 commit
  19. 30 Apr, 2014 1 commit
  20. 22 Apr, 2014 1 commit
  21. 27 Mar, 2014 1 commit
  22. 09 Feb, 2014 1 commit
  23. 12 Jan, 2014 3 commits