Description: Code alarm processing#6

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I5XD9E
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: youbing54<youbing3@huawei.com>
This commit is contained in:
youbing
2022-10-24 15:38:04 +08:00
parent ca298f2b19
commit 01a2204e99
+1 -1
View File
@@ -21,7 +21,7 @@
#define UI_WEAK_SYMBOL
#endif
#define ALIGN_UP(sz, align) (((sz) + (align - 1)) & (-(align)))
#define ALIGN_UP(sz, align) (((sz) + ((align) - 1)) & (-(align)))
#define ALIGN_DOWN(sz, align) ((sz) & (-(align)))
#define ADDR_ALIGN(ptr, sz, align) \
do { \