提交 876a08d3 编写于 作者: Y yuqing

correct macro fast_mblock_to_node_ptr

上级 701bc391
......@@ -42,7 +42,7 @@ struct fast_mblock_man
};
#define fast_mblock_to_node_ptr(data_ptr) \
(struct fast_mblock_node *)(data_ptr - ((size_t)(char *) \
(struct fast_mblock_node *)((char *)data_ptr - ((size_t)(char *) \
&((struct fast_mblock_node *)0)->data))
#ifdef __cplusplus
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册