1. 07 Apr, 2022 1 commit
  2. 06 Apr, 2022 2 commits
  3. 03 Apr, 2022 1 commit
    • ThomasKuehne's avatar
      fix -Wunused-[...] compiler warnings · 46df61a5
      ThomasKuehne authored and Alan Coopersmith's avatar Alan Coopersmith committed
      
      
      xdpyinfo.c:148:1: warning: ‘silent_errors’ defined but not used [-Wunused-function]
        148 | silent_errors(_X_UNUSED Display *dpy, _X_UNUSED XErrorEvent *ev)
      xdpyinfo.c:155:14: warning: ‘old_handler’ defined but not used [-Wunused-variable]
        155 | static int (*old_handler)(Display *, XErrorEvent *) = NULL;
      Signed-off-by: ThomasKuehne's avatarThomas Kuehne <thomas@kuehne.cn>
      46df61a5
  4. 09 Jan, 2022 1 commit
  5. 04 Dec, 2021 2 commits
  6. 12 Sep, 2021 1 commit
  7. 24 Mar, 2019 1 commit
    • Alan Coopersmith's avatar
      Add explicit casts to clear implicit conversion warnings · 67a51275
      Alan Coopersmith authored
      
      
      xdpyinfo.c:173:17: warning: implicit conversion changes signedness: 'int' to
            'size_t' (aka 'unsigned long') [-Wsign-conversion]
              qsort(extlist, n, sizeof(char *), StrCmp);
              ~~~~~          ^
      xdpyinfo.c:183:26: warning: implicit conversion changes signedness: 'int' to
            'unsigned long' [-Wsign-conversion]
                  qe_cookies = calloc(n, sizeof(xcb_query_extension_cookie_t));
                               ~~~~~~ ^
      xdpyinfo.c:195:12: warning: implicit conversion loses integer precision:
            'unsigned long' to 'uint16_t' (aka 'unsigned short') [-Wconversion]
                                                           strlen(extlist[i]),
                                                           ^~~~~~~~~~~~~~~~~~
      xdpyinfo.c:1382:51: warning: implicit conversion loses integer precision:
            'unsigned long' to 'int' [-Wshorten-64-to-32]
              int extlen = strlen(known_extensions[i].extname) + 1;
                  ~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      67a51275
  8. 03 Mar, 2019 1 commit
  9. 22 Nov, 2018 1 commit
  10. 17 Nov, 2018 1 commit
  11. 26 Jan, 2017 3 commits
  12. 17 Apr, 2015 1 commit
  13. 18 Feb, 2015 2 commits
  14. 03 Jun, 2014 3 commits
  15. 27 Nov, 2013 2 commits
  16. 21 May, 2013 1 commit
  17. 11 Feb, 2013 3 commits
  18. 22 Jan, 2013 5 commits
  19. 05 Nov, 2012 1 commit
  20. 22 Oct, 2011 1 commit
  21. 29 Sep, 2011 4 commits
  22. 19 Jan, 2011 1 commit
  23. 13 Jan, 2011 1 commit