[gegl] Use int array instead of char (for alignment)



commit 41f859e58d3631cc299d3d118360a4d3ec0ec07a
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Jul 29 17:34:58 2010 +0530

    Use int array instead of char (for alignment)

 gegl/gegl-cpuaccel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/gegl-cpuaccel.c b/gegl/gegl-cpuaccel.c
index 0e5df8b..d1af1b5 100644
--- a/gegl/gegl-cpuaccel.c
+++ b/gegl/gegl-cpuaccel.c
@@ -143,8 +143,8 @@ static X86Vendor
 arch_get_vendor (void)
 {
   guint32 eax, ebx, ecx, edx;
-  gchar   id[16];
-  guint32 *id32 = (void*) id;
+  guint32 id32[4];
+  char *id = (char *) id32;
 
 #ifndef ARCH_X86_64
   /* Only need to check this on ia32 */



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