Problem in ALIGN() definition?

Joel Sherrill joel.sherrill at
Mon May 24 19:52:56 UTC 2010


machine/param.h has this:

#define ALIGN(p)        (((unsigned)(p) + ALIGNBYTES) & ~ALIGNBYTES)

Shouldn't that be uintptr_t?

Can this include <stdint.h>?

Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985

More information about the users mailing list