提交 ecd2e996 编写于 作者: B Behdad Esfahbod

Improve the alignment for NullPool

上级 bc7830e4
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
/* Null objects */ /* Null objects */
/* Global nul-content Null pool. Enlarge as necessary. */ /* Global nul-content Null pool. Enlarge as necessary. */
static const char NullPool[32] = ""; static const void *NullPool[32 / sizeof (void *)];
/* Generic template for nul-content sizeof-sized Null objects. */ /* Generic template for nul-content sizeof-sized Null objects. */
template <typename Type> template <typename Type>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册