From ecd2e996d2137fef30011a41dd57ea45f9a796de Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 23 Feb 2010 02:42:00 -0500 Subject: [PATCH] Improve the alignment for NullPool --- src/hb-open-type-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 32f6787..0511287 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -61,7 +61,7 @@ /* Null objects */ /* 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. */ template -- 2.7.4