[PATCH] Fixup after 3a730df

Mike Hommey mh+jemalloc at glandium.org
Tue May 27 22:17:01 PDT 2014


From: Mike Hommey <mh at glandium.org>

---
 test/integration/rallocx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/integration/rallocx.c b/test/integration/rallocx.c
index e78e02f..b698072 100644
--- a/test/integration/rallocx.c
+++ b/test/integration/rallocx.c
@@ -95,7 +95,7 @@ TEST_BEGIN(test_zero)
 				    "Expected zeroed memory");
 			}
 			if (psz != qsz) {
-				memset((void *)(uintptr_t)q+psz, FILL_BYTE,
+				memset((void *)((uintptr_t)q+psz), FILL_BYTE,
 				    qsz-psz);
 				psz = qsz;
 			}
@@ -161,7 +161,7 @@ TEST_BEGIN(test_lg_align_and_zero)
 			assert_false(validate_fill(q, 0, 0, MAX_VALIDATE),
 			    "Expected zeroed memory");
 			assert_false(validate_fill(
-			    (void *)(uintptr_t)q+sz-MAX_VALIDATE,
+			    (void *)((uintptr_t)q+sz-MAX_VALIDATE),
 			    0, 0, MAX_VALIDATE), "Expected zeroed memory");
 		}
 		p = q;
-- 
2.0.0.rc2



More information about the jemalloc-discuss mailing list