git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1922
6f19259b-4bc3-4df7-8a09-
765794883524
///\r
/// ALIGN_POINTER - aligns a pointer to the lowest boundry\r
///\r
///\r
/// ALIGN_POINTER - aligns a pointer to the lowest boundry\r
///\r
-#define ALIGN_POINTER(p, s) ((VOID *) ((p) + (((s) - ((UINTN) (p))) & ((s) - 1))))\r
+#define ALIGN_POINTER(p, s) ((VOID *) ((UINTN)(p) + (((s) - ((UINTN) (p))) & ((s) - 1))))\r
\r
///\r
/// ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int size of a processor\r
\r
///\r
/// ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int size of a processor\r