Fix a warning from clang about an implicit conversion
[xicursorset.git] / xicursorset.c
index 7c18c0f..d45ec5e 100644 (file)
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
                }
        }
 
-       image = XcursorShapeLoadImage(shape, theme, size);
+       image = XcursorShapeLoadImage((unsigned int)shape, theme, size);
        if (image == NULL) {
                fprintf(stderr, "Can't get cursor image, check <shape> or <theme>.\n");
                return EXIT_FAILURE;