summaryrefslogtreecommitdiff
path: root/render/render.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2011-08-16 16:59:07 -0400
committerMatt Turner <mattst88@gmail.com>2011-09-21 17:14:44 -0400
commit54770c980cd2b91a8377f975a58ed69def5cfa42 (patch)
tree606ae54d61019884d0ad2d3c46e5be9785682f76 /render/render.c
parent9edcae78c46286baff42e74bfe26f6ae4d00fe01 (diff)
Cast char* buffers to swap functions
Reviewed-by: Peter Harris <pharris@opentext.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'render/render.c')
-rw-r--r--render/render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/render.c b/render/render.c
index facc32a29..cc13dbc2a 100644
--- a/render/render.c
+++ b/render/render.c
@@ -2375,7 +2375,7 @@ SProcRenderCompositeGlyphs (ClientPtr client)
i = elt->len;
if (i == 0xff)
{
- swapl(buffer);
+ swapl((int *)buffer);
buffer += 4;
}
else
@@ -2388,14 +2388,14 @@ SProcRenderCompositeGlyphs (ClientPtr client)
case 2:
while (i--)
{
- swaps(buffer);
+ swaps((short *)buffer);
buffer += 2;
}
break;
case 4:
while (i--)
{
- swapl(buffer);
+ swapl((int *)buffer);
buffer += 4;
}
break;