clipboard: Fix compiler warning
Cast the type.
This commit is contained in:
@ -295,7 +295,7 @@ gtk_clipboard_wayland_request_contents (GtkClipboard *gtkclipboard,
|
|||||||
|
|
||||||
n_atoms = gdk_wayland_device_get_selection_type_atoms (device, &atoms);
|
n_atoms = gdk_wayland_device_get_selection_type_atoms (device, &atoms);
|
||||||
selection_data.length = n_atoms;
|
selection_data.length = n_atoms;
|
||||||
selection_data.data = atoms;
|
selection_data.data = (guchar *) atoms;
|
||||||
|
|
||||||
callback (gtkclipboard, &selection_data, user_data);
|
callback (gtkclipboard, &selection_data, user_data);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user