about summary refs log tree commit diff
path: root/string/test-string.h
diff options
context:
space:
mode:
Diffstat (limited to 'string/test-string.h')
-rw-r--r--string/test-string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/string/test-string.h b/string/test-string.h
index 896b713e17..ae7fc3440a 100644
--- a/string/test-string.h
+++ b/string/test-string.h
@@ -22,13 +22,13 @@ typedef struct
 {
   const char *name;
   void (*fn) (void);
-  int test;
+  long test;
 } impl_t;
 extern impl_t __start_impls[], __stop_impls[];
 
 #define IMPL(name, test) \
-  impl_t tst_ ## name				\
-  __attribute__ ((section ("impls"))) 		\
+  impl_t tst_ ## name							\
+  __attribute__ ((section ("impls"), aligned (sizeof (void *))))	\
     = { #name, (void (*) (void))name, test };
 
 #ifdef TEST_MAIN