diff options
Diffstat (limited to 'src/Xrender.c')
-rw-r--r-- | src/Xrender.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xrender.c b/src/Xrender.c index a72df5e..299f9d4 100644 --- a/src/Xrender.c +++ b/src/Xrender.c @@ -500,7 +500,7 @@ XRenderQueryFormats (Display *dpy) _XRead (dpy, (char *) xData, rlength); format = xri->format; xFormat = (xPictFormInfo *) xData; - for (int nf = 0; nf < rep.numFormats; nf++) + for (unsigned int nf = 0; nf < rep.numFormats; nf++) { format->id = xFormat->id; format->type = xFormat->type; @@ -567,7 +567,7 @@ XRenderQueryFormats (Display *dpy) } xSubpixel = (CARD32 *) xScreen; screen = xri->screen; - for (int ns = 0; ns < rep.numSubpixel; ns++) + for (unsigned int ns = 0; ns < rep.numSubpixel; ns++) { screen->subpixel = *xSubpixel; xSubpixel++; |