[gtk+] clipboard: Fix compiler warning
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] clipboard: Fix compiler warning
- Date: Mon, 7 Jul 2014 18:07:10 +0000 (UTC)
commit cb1ac0c056dfc5b84d84c049f48d0b55cb019a8b
Author: Benjamin Otte <otte redhat com>
Date: Mon Jul 7 19:42:59 2014 +0200
clipboard: Fix compiler warning
Cast the type.
gtk/gtkclipboard-wayland.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkclipboard-wayland.c b/gtk/gtkclipboard-wayland.c
index 9e72802..ccd3cf7 100644
--- a/gtk/gtkclipboard-wayland.c
+++ b/gtk/gtkclipboard-wayland.c
@@ -295,7 +295,7 @@ gtk_clipboard_wayland_request_contents (GtkClipboard *gtkclipboard,
n_atoms = gdk_wayland_device_get_selection_type_atoms (device, &atoms);
selection_data.length = n_atoms;
- selection_data.data = atoms;
+ selection_data.data = (guchar *) atoms;
callback (gtkclipboard, &selection_data, user_data);
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]