diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-19 19:23:33 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-19 19:23:33 -0700 |
commit | 91f465babd46f1b39c6f5665e38e4aab58fc921b (patch) | |
tree | 3dc8b72d91bd3bbe8d698884970c6e90934b5a73 | |
parent | 6a26c41570f1b91f14508cf3d44f4ed3c51127bd (diff) |
Clear sparse warning: Using plain integer as NULL pointer
-rw-r--r-- | xdpyinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1049,7 +1049,7 @@ print_xrender_info(Display *dpy, char *extname) XFreeExtensionList(extensions); if (loop != num_extensions) { printf (" Render formats :\n"); - for (count = 0; (pictform = XRenderFindFormat (dpy, 0, 0, count)); count++) + for (count = 0; (pictform = XRenderFindFormat (dpy, 0, NULL, count)); count++) { printf (" pict format:\n"); printf ("\tformat id: 0x%lx\n", pictform->id); |