X-Git-Url: https://git.ao2.it/xicursorset.git/blobdiff_plain/e295469f16223c351d0048827f86ffdf482f4e8f..HEAD:/xicursorset.c diff --git a/xicursorset.c b/xicursorset.c index 7c18c0f..37faf80 100644 --- a/xicursorset.c +++ b/xicursorset.c @@ -71,7 +71,6 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; } - if (argc == 4) { theme = argv[3]; } else { @@ -82,7 +81,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 or .\n"); return EXIT_FAILURE;