[gtksourceview] build: Fix cast align warning for clang



commit 4343423fa8cc489e8823b5c418f590c45a8fb03c
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Mon Aug 10 15:26:10 2015 +0800

    build: Fix cast align warning for clang
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753435

 gtksourceview/gtksourceview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 7caeb3b..8ca8d48 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -4458,7 +4458,7 @@ view_dnd_drop (GtkTextView      *view,
                        return;
                }
 
-               vals = (guint16 *) gtk_selection_data_get_data (selection_data);
+               vals = (gpointer) gtk_selection_data_get_data (selection_data);
 
                vals[0] /= 256;
                vals[1] /= 256;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]