summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-08-28 19:47:39 +0000
committerAdam Jackson <ajax@nwnk.net>2005-08-28 19:47:39 +0000
commit20813d3af065f9b719b39d2e7a3382b8fa278a48 (patch)
tree0ef67f5396de1fcd822fdb674a821e1586071935 /render
parent0926cf79c030f29dce32a9dc944734960ec93d19 (diff)
Bug #3974: Fix unaligned memory access on LP64. (Matthieu Herrb)
Diffstat (limited to 'render')
-rw-r--r--render/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/render.c b/render/render.c
index 1aea07d35..0f4bca92f 100644
--- a/render/render.c
+++ b/render/render.c
@@ -1340,7 +1340,7 @@ ProcRenderCompositeGlyphs (ClientPtr client)
{
if (buffer + sizeof (GlyphSet) < end)
{
- gs = *(GlyphSet *) buffer;
+ memcpy(&gs, buffer, sizeof(GlyphSet));
glyphSet = (GlyphSetPtr) SecurityLookupIDByType (client,
gs,
GlyphSetType,