win-capture: Fix incorrect parameter type warning

Was using const char** when the parameter expects const uint8_t**
This commit is contained in:
jp9000 2015-02-08 15:55:16 -08:00
parent 6b38fa35b0
commit aa3bdd9845

View File

@ -151,7 +151,7 @@ static inline bool cursor_capture_icon(struct cursor_data *data, HICON icon)
bitmap = cursor_capture_icon_bitmap(&ii, &width, &height);
if (bitmap) {
data->texture = gs_texture_create(width, height, GS_BGRA,
1, &bitmap, 0);
1, (const uint8_t**)&bitmap, 0);
bfree(bitmap);
data->x_hotspot = ii.xHotspot;