diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-06-19 18:15:35 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-06-19 18:15:35 +0000 |
commit | ab9ef0fa5ffbbc48e4eb988c85cc6e07c6a14db1 (patch) | |
tree | 36bcfbd23373e43ba570eb6c6e461b0e73f5e15f /newlib/libc | |
parent | d66550cae65713abd86ec9633bc7b17ca8af6171 (diff) | |
download | cygnal-ab9ef0fa5ffbbc48e4eb988c85cc6e07c6a14db1.tar.gz cygnal-ab9ef0fa5ffbbc48e4eb988c85cc6e07c6a14db1.tar.bz2 cygnal-ab9ef0fa5ffbbc48e4eb988c85cc6e07c6a14db1.zip |
2009-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/sys/rtems/machine/param.h: Change ALIGNBYTES
so it can point to an aligned structure or double.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/sys/rtems/machine/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/rtems/machine/param.h b/newlib/libc/sys/rtems/machine/param.h index fd244431d..e4dd271fb 100644 --- a/newlib/libc/sys/rtems/machine/param.h +++ b/newlib/libc/sys/rtems/machine/param.h @@ -19,7 +19,7 @@ * for all data types (int, long, ...). The result is unsigned int * and must be cast to any desired pointer type. */ -#define ALIGNBYTES (sizeof(int) - 1) +#define ALIGNBYTES (sizeof(double) - 1) #define ALIGN(p) (((unsigned)(p) + ALIGNBYTES) & ~ALIGNBYTES) #define PAGE_SHIFT 12 /* LOG2(PAGE_SIZE) */ |