Problem in ALIGN() definition?

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


Hi,

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 OARcorp.com        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