Commit 0b1225e3 authored by Sam Lantinga's avatar Sam Lantinga

Fixed signed/unsigned warning.

parent 7472736e
......@@ -180,9 +180,11 @@ X11_CreatePixmapCursor(SDL_Surface * surface, int hot_x, int hot_y)
else bg.red = bg.green = bg.blue = 0;
data_pixmap = XCreateBitmapFromData(display, DefaultRootWindow(display),
data_bits, surface->w, surface->h);
(char*)data_bits,
surface->w, surface->h);
mask_pixmap = XCreateBitmapFromData(display, DefaultRootWindow(display),
mask_bits, surface->w, surface->h);
(char*)mask_bits,
surface->w, surface->h);
cursor = XCreatePixmapCursor(display, data_pixmap, mask_pixmap,
&fg, &bg, hot_x, hot_y);
XFreePixmap(display, data_pixmap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment