From e75d60f622e7c877ec05b636b7e7d22006ea1271 Mon Sep 17 00:00:00 2001 From: Reece Dunn Date: Sun, 31 Oct 2010 09:14:24 +0000 Subject: [PATCH] build: fix a compilation error on 64-bit platforms --- src/compiledata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiledata.cpp b/src/compiledata.cpp index 3fccb67b..0eb3b22c 100644 --- a/src/compiledata.cpp +++ b/src/compiledata.cpp @@ -3259,7 +3259,7 @@ static void CompileEquivalents() } *p_equivalence++ = 0; - p_equivalence = (char *)((int)(p_equivalence + 3) & ~0x3); // align to word boundary + p_equivalence = (char *)((intptr_t)(p_equivalence + 3) & ~0x3); // align to word boundary n_bytes = p_equivalence - p_start; p_start[1] = remove_stress; n_bytes = n_bytes / 4;