1902. [port] Use uintptr_t if available. [RT #14606]

This commit is contained in:
Mark Andrews
2005-07-18 05:21:35 +00:00
parent 6e9efadbea
commit 0c93194031

View File

@@ -252,7 +252,7 @@ char * strsep(char **stringp, const char *delim);
#endif
#ifndef ALIGN
#define ALIGN(p) (((unsigned int)(p) + (sizeof(int) - 1)) & ~(sizeof(int) - 1))
#define ALIGN(p) (((uintptr_t)(p) + (sizeof(long) - 1)) & ~(sizeof(long) - 1))
#endif
#ifdef NEED_SETGROUPENT