projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aae6aab
)
Ensure proper alignment of NullPool
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 22 Feb 2010 21:03:15 +0000
(16:03 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 22 Feb 2010 21:03:15 +0000
(16:03 -0500)
Bug 593240 - (pangoosx) Crash / infinite loop with Mac OS X
pango/opentype/hb-open-type-private.hh
patch
|
blob
|
history
diff --git
a/pango/opentype/hb-open-type-private.hh
b/pango/opentype/hb-open-type-private.hh
index
65e4950
..
f460f1a
100644
(file)
--- a/
pango/opentype/hb-open-type-private.hh
+++ b/
pango/opentype/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 <typename Type>