summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/include/ut0byte.ic2
-rw-r--r--storage/xtradb/include/ut0byte.ic2
2 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/ut0byte.ic b/storage/innobase/include/ut0byte.ic
index 873d98c727e..1a7af5ae33d 100644
--- a/storage/innobase/include/ut0byte.ic
+++ b/storage/innobase/include/ut0byte.ic
@@ -110,7 +110,7 @@ ut_align_down(
ut_ad(sizeof(void*) == sizeof(ulint));
- return((void*)((((ulint) ptr)) & ~(align_no - 1)));
+ return((void*)(((ulint) ptr) & ~(align_no - 1)));
}
/*********************************************************//**
diff --git a/storage/xtradb/include/ut0byte.ic b/storage/xtradb/include/ut0byte.ic
index 873d98c727e..1a7af5ae33d 100644
--- a/storage/xtradb/include/ut0byte.ic
+++ b/storage/xtradb/include/ut0byte.ic
@@ -110,7 +110,7 @@ ut_align_down(
ut_ad(sizeof(void*) == sizeof(ulint));
- return((void*)((((ulint) ptr)) & ~(align_no - 1)));
+ return((void*)(((ulint) ptr) & ~(align_no - 1)));
}
/*********************************************************//**