[sysprof] build: silence some cast-align warnings on ARM



commit a760a6ca1028f9231296c50f11bf01498e84fdbb
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 14 11:40:55 2016 -0700

    build: silence some cast-align warnings on ARM

 lib/sp-visualizer-ticks.c |    2 +-
 lib/sp-zoom-manager.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/sp-visualizer-ticks.c b/lib/sp-visualizer-ticks.c
index fb3b638..00b27b9 100644
--- a/lib/sp-visualizer-ticks.c
+++ b/lib/sp-visualizer-ticks.c
@@ -34,7 +34,7 @@ struct _SpVisualizerTicks
   gint64 epoch;
   gint64 begin_time;
   gint64 end_time;
-};
+} __attribute__((aligned(8)));
 
 enum {
   TICK_MINUTES,
diff --git a/lib/sp-zoom-manager.c b/lib/sp-zoom-manager.c
index 688b2dd..61aa464 100644
--- a/lib/sp-zoom-manager.c
+++ b/lib/sp-zoom-manager.c
@@ -32,7 +32,7 @@ struct _SpZoomManager
   gdouble min_zoom;
   gdouble max_zoom;
   gdouble zoom;
-};
+} __attribute__((aligned(8)));
 
 enum {
   PROP_0,


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